|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.buck.common.codec.CodecDecoder
public abstract class CodecDecoder
An engine that can transform a sequence of bytes in a specific encoding into a sequence of bytes.
| Constructor Summary | |
|---|---|
protected |
CodecDecoder(Codec codec)
Initializes a new decoder. |
| Method Summary | |
|---|---|
Codec |
codec()
Returns the codec that created this decoder. |
abstract byte[] |
decode(byte[] encoded)
Decodes encoded data using the codec. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CodecDecoder(Codec codec)
codec - The codec for this decoder.| Method Detail |
|---|
public final Codec codec()
public abstract byte[] decode(byte[] encoded)
encoded - the encoded data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||