Package | Description |
---|---|
org.apache.commons.compress.harmony.pack200 | |
org.apache.commons.compress.harmony.unpack200 |
Modifier and Type | Class and Description |
---|---|
class |
BHSDCodec
A BHSD codec is a means of encoding integer values as a sequence of bytes or vice versa using a specified "BHSD"
encoding mechanism.
|
class |
PopulationCodec
A PopulationCodec is a Codec that is well suited to encoding data that shows statistical or repetitive patterns,
containing for example a few numbers which are repeated a lot throughout the set, but not necessarily sequentially.
|
class |
RunCodec
A run codec is a grouping of two nested codecs; K values are decoded from the first codec, and the remaining codes
are decoded from the remaining codec.
|
Modifier and Type | Method and Description |
---|---|
Codec |
RunCodec.getACodec() |
Codec |
RunCodec.getBCodec() |
static Codec |
CodecEncoding.getCodec(int value,
InputStream in,
Codec defaultCodec)
Returns the codec specified by the given value byte and optional byte header.
|
Codec |
PopulationCodec.getFavouredCodec() |
Codec |
PopulationCodec.getTokenCodec() |
Codec |
PopulationCodec.getUnfavouredCodec() |
Modifier and Type | Method and Description |
---|---|
static Codec |
CodecEncoding.getCodec(int value,
InputStream in,
Codec defaultCodec)
Returns the codec specified by the given value byte and optional byte header.
|
static int[] |
CodecEncoding.getSpecifier(Codec codec,
Codec defaultForBand) |
Constructor and Description |
---|
PopulationCodec(Codec favouredCodec,
Codec tokenCodec,
Codec unvafouredCodec) |
PopulationCodec(Codec favouredCodec,
int l,
Codec unfavouredCodec) |
RunCodec(int k,
Codec aCodec,
Codec bCodec) |
Modifier and Type | Method and Description |
---|---|
Codec |
AttributeLayout.getCodec() |
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.