com.amx.duet.tools.net.snmp.api
Class SNMPBitString

java.lang.Object
  extended bycom.amx.duet.tools.net.snmp.api.SNMPObject
      extended bycom.amx.duet.tools.net.snmp.api.SNMPOctetString
          extended bycom.amx.duet.tools.net.snmp.api.SNMPBitString

public class SNMPBitString
extends SNMPOctetString

Class representing a general string of bits.


Constructor Summary
SNMPBitString()
          Create a zero-length bit string.
SNMPBitString(byte[] enc)
          Create a bit string from the supplied byte array.
SNMPBitString(java.lang.String stringData)
          Create a bit string from the bytes of the supplied String.
 
Methods inherited from class com.amx.duet.tools.net.snmp.api.SNMPOctetString
equals, getValue, hashCode, setValue, toHexString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SNMPBitString

public SNMPBitString()
Create a zero-length bit string.


SNMPBitString

public SNMPBitString(java.lang.String stringData)
Create a bit string from the bytes of the supplied String.


SNMPBitString

public SNMPBitString(byte[] enc)
Create a bit string from the supplied byte array. The array may be either user-supplied, or part of a retrieved BER encoding. Note that the BER encoding of the data of a bit string is just the raw bytes.



Copyright © 2008 AMX LLC. All Rights Reserved.