All Packages Class Hierarchy This Package Previous Next Index
Class Snmp.SnmpString
java.lang.Object
|
+----Snmp.SnmpVar
|
+----Snmp.SnmpString
- public class SnmpString
- extends SnmpVar
-
byteValue
-
-
value
-
-
SnmpString(String)
- Constructor - creates SnmpString with initial value = s
-
toBytes()
- To return the value as raw bytes
-
toByteString()
- To convert the object to a printable string tagged with STRING:
-
toString()
- To convert the object to a printable string
-
toTagString()
- To convert the object to a printable string tagged with STRING:
-
toValue()
- function to return value as a String object
value
protected String value
byteValue
protected byte byteValue[]
SnmpString
public SnmpString(String s)
- Constructor - creates SnmpString with initial value = s
toValue
public Object toValue()
- function to return value as a String object
- Overrides:
- toValue in class SnmpVar
toString
public String toString()
- To convert the object to a printable string
- Overrides:
- toString in class SnmpVar
toTagString
public String toTagString()
- To convert the object to a printable string tagged with STRING:
- Overrides:
- toTagString in class SnmpVar
toByteString
public String toByteString()
- To convert the object to a printable string tagged with STRING:
toBytes
public byte[] toBytes()
- To return the value as raw bytes
- Overrides:
- toBytes in class SnmpVar
All Packages Class Hierarchy This Package Previous Next Index