public interface StatefulDecoder
decode()
method of the
registered DecoderCallback is called.Modifier and Type | Method and Description |
---|---|
void |
decode(Object encoded)
Decodes a piece of encoded data.
|
void |
setCallback(DecoderCallback cb)
Sets the callback for this StatefulDecoder.
|
void |
setDecoderMonitor(DecoderMonitor monitor)
Monitors all kinds of events that occur during processing.
|
void decode(Object encoded) throws DecoderException
encoded
- an object representing a piece of encoded dataDecoderException
- if the encoded element can't be decodedvoid setCallback(DecoderCallback cb)
cb
- the callback to inform of a complete decode operationvoid setDecoderMonitor(DecoderMonitor monitor)
monitor
- to set for this StatefulDecoderCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.