public abstract class SnmpType extends MibType
Modifier | Constructor and Description |
---|---|
protected |
SnmpType(java.lang.String name,
java.lang.String description)
Creates a new SNMP macro type instance.
|
Modifier and Type | Method and Description |
---|---|
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.
|
createReference, createReference, createReference, getComment, getName, getReferenceSymbol, getTag, hasReferenceTo, hasReferenceTo, hasTag, hasTag, initialize, isCompatible, isPrimitive, setReferenceSymbol, setTag, toString
protected SnmpType(java.lang.String name, java.lang.String description)
name
- the type namedescription
- the type descriptionprotected static java.lang.String removeIndent(java.lang.String str)
str
- the string to processpublic java.lang.String getDescription()
getUnformattedDescription()
public java.lang.String getUnformattedDescription()
getDescription()
protected java.lang.String getDescription(java.lang.String indent)
indent
- the indentation string