|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.asn1.ber.TagOctetCollector
Collects up to 4 tag octets.
Field Summary | |
private int |
_size
the number of octets currently stored |
private int |
intValue
the int used to store the tag octets |
Constructor Summary | |
TagOctetCollector()
|
Method Summary | |
void |
clear()
Clears all the tag octets resetting the tag and size to zero. |
byte |
get(int index)
Gets the byte at a specific index. |
int |
getIntValue()
Gets a unique integer value representing the tag octets. |
void |
put(byte octet)
Puts an octet into this collector. |
int |
size()
Gets the number of octets stored by this TagOctetCollector |
byte[] |
toArray()
Gets the 4 octets for the tag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int intValue
private int _size
Constructor Detail |
public TagOctetCollector()
Method Detail |
public void put(byte octet)
octet
- the octet to put into the collector.public void clear()
public int size()
public int getIntValue()
public byte[] toArray()
public byte get(int index)
index
-
java.lang.IndexOutOfBoundsException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |