|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.percederberg.mibble.MibType
net.percederberg.mibble.snmp.SnmpType
public abstract class SnmpType
The base SNMP macro type. This is an abstract type, meaning there only exist instances of subclasses. It exists to provide methods that are valid across all SNMP macro types.
Constructor Summary | |
---|---|
protected |
SnmpType(java.lang.String name,
java.lang.String description)
Creates a new SNMP macro type instance. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the type description. |
protected java.lang.String |
getDescription(java.lang.String indent)
Returns the type description indented with the specified string. |
java.lang.String |
getUnformattedDescription()
Returns the unformatted type description. |
protected static java.lang.String |
removeIndent(java.lang.String str)
Returns a string with any unneeded indentation removed. |
Methods inherited from class net.percederberg.mibble.MibType |
---|
createReference, createReference, createReference, getComment, getName, getReferenceSymbol, getTag, hasReferenceTo, hasReferenceTo, hasTag, hasTag, initialize, isCompatible, isPrimitive, setReferenceSymbol, setTag, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected SnmpType(java.lang.String name, java.lang.String description)
name
- the type namedescription
- the type descriptionMethod Detail |
---|
protected static java.lang.String removeIndent(java.lang.String str)
str
- the string to process
public java.lang.String getDescription()
getUnformattedDescription()
public java.lang.String getUnformattedDescription()
getDescription()
protected java.lang.String getDescription(java.lang.String indent)
indent
- the indentation string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |