public class MibbleBrowser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
MibLoader |
loader
The MIB loader to use.
|
Constructor and Description |
---|
MibbleBrowser()
Creates a new browser application.
|
Modifier and Type | Method and Description |
---|---|
MibValueSymbol |
findMibSymbol(java.lang.String oid)
Searches the OID tree from the loaded MIB files for the best
matching value.
|
java.util.Properties |
getBuildInfo()
Returns the application build information.
|
java.util.Collection<Mib> |
loadMib(java.lang.String src)
Loads MIB file or URL.
|
static void |
main(java.lang.String[] args)
The application main entry point.
|
void |
start(java.lang.String[] args)
Starts this application.
|
void |
unloadAllMibs()
Unloads all loaded MIB files.
|
void |
unloadMib(Mib mib)
Unloads a loaded MIB module.
|
public MibLoader loader
public static void main(java.lang.String[] args)
args
- the command-line parameterspublic void start(java.lang.String[] args)
args
- the command-line argumentspublic java.util.Properties getBuildInfo()
public java.util.Collection<Mib> loadMib(java.lang.String src) throws java.io.IOException, MibLoaderException
src
- the MIB file or URLjava.io.IOException
- if the MIB file couldn't be found in the
MIB search pathMibLoaderException
- if the MIB file couldn't be loaded
correctlypublic void unloadMib(Mib mib)
mib
- the MIB modulepublic void unloadAllMibs()
public MibValueSymbol findMibSymbol(java.lang.String oid)
oid
- the numeric OID string to search forMibLoader.getOid(String)