All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Snmp.SnmpString

java.lang.Object
   |
   +----Snmp.SnmpVar
           |
           +----Snmp.SnmpString

public class SnmpString
extends SnmpVar

Variable Index

 o byteValue
 o value

Constructor Index

 o SnmpString(String)
Constructor - creates SnmpString with initial value = s

Method Index

 o toBytes()
To return the value as raw bytes
 o toByteString()
To convert the object to a printable string tagged with STRING:
 o toString()
To convert the object to a printable string
 o toTagString()
To convert the object to a printable string tagged with STRING:
 o toValue()
function to return value as a String object

Variables

 o value
 protected String value
 o byteValue
 protected byte byteValue[]

Constructors

 o SnmpString
 public SnmpString(String s)
Constructor - creates SnmpString with initial value = s

Methods

 o toValue
 public Object toValue()
function to return value as a String object

Overrides:
toValue in class SnmpVar
 o toString
 public String toString()
To convert the object to a printable string

Overrides:
toString in class SnmpVar
 o toTagString
 public String toTagString()
To convert the object to a printable string tagged with STRING:

Overrides:
toTagString in class SnmpVar
 o toByteString
 public String toByteString()
To convert the object to a printable string tagged with STRING:

 o 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