|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.asn1.codec.stateful.AbstractStatefulDecoder
org.apache.asn1.codec.stateful.examples.HexDecoder
Document me.
| Field Summary | |
private java.nio.ByteBuffer |
decoded
|
private boolean |
expectingMsn
|
private byte |
lsn
|
private byte |
msn
|
| Fields inherited from class org.apache.asn1.codec.stateful.AbstractStatefulDecoder |
|
| Constructor Summary | |
HexDecoder()
|
|
| Method Summary | |
void |
decode(java.lang.Object chunk)
Decodes a peice of encoded data. |
private byte |
getNibble(byte ch)
|
| Methods inherited from class org.apache.asn1.codec.stateful.AbstractStatefulDecoder |
decodeOccurred, getDecoderMonitor, setCallback, setDecoderMonitor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.nio.ByteBuffer decoded
private byte lsn
private byte msn
private boolean expectingMsn
| Constructor Detail |
public HexDecoder()
| Method Detail |
public void decode(java.lang.Object chunk)
throws DecoderException
StatefulDecoder
chunk - an object representing a peice of encoded data
DecoderException
private byte getNibble(byte ch)
throws DecoderException
DecoderException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||