| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final NullCodec | |
| public static final CodecFactory | OPTION
No options available for NullCodec. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | compress(ByteBuffer buffer)
Implements abstract org. |
| public ByteBuffer | decompress(ByteBuffer data)
Implements abstract org. |
| public boolean | equals(Object
the reference object with which to compare. other)Implements abstract org. |
| public String | getName()
Implements abstract org. |
| public int | hashCode()
Implements abstract org. |
| INSTANCE | back to summary |
|---|---|
| private static final NullCodec INSTANCE | |
| OPTION | back to summary |
|---|---|
| public static final CodecFactory OPTION No options available for NullCodec. | |
| NullCodec | back to summary |
|---|---|
| pack-priv NullCodec() | |
| compress | back to summary |
|---|---|
| public ByteBuffer compress(ByteBuffer buffer) throws IOException Implements abstract org. Doc from org. Compresses the input data
| |
| decompress | back to summary |
|---|---|
| public ByteBuffer decompress(ByteBuffer data) throws IOException Implements abstract org. Doc from org. Decompress the data
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Implements abstract org. Doc from org. Codecs must implement an equals() method. Two codecs, A and B are equal if: the result of A and B decompressing content compressed by A is the same AND the result of A and B decompressing content compressed by B is the same
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Name of the codec; written to the file's metadata.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from org. Codecs must implement a hashCode() method that is consistent with equals().
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Codec | createInstance()
Implements abstract org. |
| Option | back to summary |
|---|---|
| pack-priv Option() | |
| createInstance | back to summary |
|---|---|
| protected Codec createInstance() Implements abstract org. Doc from org. Creates internal Codec.
| |