public class HexEncoder extends Object implements StatefulEncoder
Constructor and Description |
---|
HexEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
encode(Object obj)
Transforms a decoded ByteArray of binary data into a stream of ASCII hex
characters.
|
void |
setCallback(EncoderCallback cb)
Sets the callback of the underlying implementation.
|
void |
setEncoderMonitor(EncoderMonitor monitor)
Sets the monitor of the underlying implementation.
|
public void encode(Object obj) throws EncoderException
encode
in interface StatefulEncoder
obj
- EncoderException
public void setCallback(EncoderCallback cb)
StatefulEncoder
setCallback
in interface StatefulEncoder
cb
- the callback to set on the underlying provider specific encoderpublic void setEncoderMonitor(EncoderMonitor monitor)
StatefulEncoder
setEncoderMonitor
in interface StatefulEncoder
monitor
- the monitor to set on the underlying implementationCopyright © 2003–2013 The Apache Software Foundation. All rights reserved.