|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.percederberg.mibble.MibImport
public class MibImport
A MIB import list. This class contains a referenc to another MIB and a number of symbols in it.
Method Summary | |
---|---|
MibSymbol |
findSymbol(java.lang.String name,
boolean expanded)
Searches for a named MIB symbol. |
java.util.Collection |
getAllSymbolNames()
Returns all symbol names in this MIB import declaration. |
Mib |
getMib()
Returns the imported MIB. |
java.lang.String |
getName()
Returns the imported MIB name. |
void |
initialize(MibLoaderLog log)
Initializes the MIB import. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void initialize(MibLoaderLog log) throws MibException
log
- the MIB loader log
MibException
- if an error was encountered during the
initializationpublic java.lang.String getName()
public Mib getMib()
public java.util.Collection getAllSymbolNames()
public MibSymbol findSymbol(java.lang.String name, boolean expanded)
NOTE: This is an internal method that should only be called by the MIB loader.
findSymbol
in interface MibContext
name
- the symbol nameexpanded
- the expanded scope flag
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |