Package | Description |
---|---|
org.snf4j.core.codec |
Provides interfaces and classes for implementing encoders, decoders and
codec pipelines.
|
org.snf4j.core.codec.bytes |
Encoders and decoders which transform an array of bytes into a
ByteBuffer and vice versa. |
org.snf4j.core.codec.zip |
Modifier and Type | Interface and Description |
---|---|
interface |
IBaseDecoder<O>
A special decoder that can determine how many bytes should be read from the
input buffer to create the byte array of the inbound data that can be decoded
by this decoder.
|
interface |
IDecoder<I,O>
A decoder that can be managed by a codec pipeline implementing the
ICodecPipeline interface. |
interface |
IEncoder<I,O>
A encoder that can be managed by a codec pipeline implementing the
ICodecPipeline interface. |
Modifier and Type | Class and Description |
---|---|
class |
CompoundDecoder<I,O>
A compound decoder that processes input data through a chain of the specified decoders.
|
class |
CompoundEncoder<I,O>
A compound encoder that processes input data through a chain of the specified encoders.
|
class |
EventDrivenCompoundDecoder<I,O>
An event driven compound decoder that processes input data through a chain of
the specified decoders.
|
class |
EventDrivenCompoundEncoder<I,O>
An event driven compound encoder that processes input data through a chain of
the specified encoders.
|
Modifier and Type | Method and Description |
---|---|
ICodec<?,?> |
ICodecPipeline.get(Object key)
Returns the codec identified by the specified key in this pipeline.
|
ICodec<?,?> |
ICodecPipeline.remove(Object key)
Removes the codec identified by the specified key from this pipeline.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayToBufferCodec
A base
class for encoders and decoders transforming an array of
bytes into a ByteBuffer . |
class |
ArrayToBufferDecoder
A decoder transforming an array of bytes into a
ByteBuffer . |
class |
ArrayToBufferEncoder
An encoder transforming an array of bytes into a
ByteBuffer . |
class |
BufferToArrayCodec
A base
class for encoders and decoders transforming a ByteBuffer
into an array of bytes. |
class |
BufferToArrayDecoder
A decoder transforming a
ByteBuffer into an array of bytes. |
class |
BufferToArrayEncoder
An encoder transforming a
ByteBuffer into an array of bytes. |
Modifier and Type | Class and Description |
---|---|
class |
GzipDecoder
|
class |
GzipEncoder
|
class |
ZlibCodec
The base
class for compressors and decompressors transforming an
array of bytes in the zlib
compression format into a ByteBuffer . |
class |
ZlibDecoder
Decompresses an array of bytes using the
zlib compression.
|
class |
ZlibEncoder
Compresses an array of bytes using the
zlib compression.
|
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.