# Uses of Class
org.apache.commons.compress.harmony.pack200.Codec

Packages that use Codec
Package
Description
org.apache.commons.compress.harmony.pack200
Internal package.
org.apache.commons.compress.harmony.unpack200
Internal package.

- ## Uses of Codec in org.apache.commons.compress.harmony.pack200

  Subclasses of Codec in org.apache.commons.compress.harmony.pack200
  Modifier and Type
  Class
  Description
  `final 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.
  Methods in org.apache.commons.compress.harmony.pack200 that return Codec
  Modifier and Type
  Method
  Description
  `Codec`
  RunCodec.`getACodec()`
  `Codec`
  RunCodec.`getBCodec()`
  `static Codec`
  CodecEncoding.`getCodec(int value, InputStream in, Codec defaultCodec)`
  Gets the codec specified by the given value byte and optional byte header.
  `Codec`
  PopulationCodec.`getFavouredCodec()`
  `Codec`
  PopulationCodec.`getTokenCodec()`
  `Codec`
  PopulationCodec.`getUnfavouredCodec()`
  Methods in org.apache.commons.compress.harmony.pack200 with parameters of type Codec
  Modifier and Type
  Method
  Description
  `static Codec`
  CodecEncoding.`getCodec(int value, InputStream in, Codec defaultCodec)`
  Gets the codec specified by the given value byte and optional byte header.
  `static int[]`
  CodecEncoding.`getSpecifier(Codec codec, Codec defaultForBand)`
  Constructors in org.apache.commons.compress.harmony.pack200 with parameters of type Codec
  Modifier
  Constructor
  Description
  ``
  `PopulationCodec(Codec favouredCodec, int l, Codec unfavouredCodec)`
  ``
  `PopulationCodec(Codec favouredCodec, Codec tokenCodec, Codec unvafouredCodec)`
  ``
  `RunCodec(int k, Codec aCodec, Codec bCodec)`

- ## Uses of Codec in org.apache.commons.compress.harmony.unpack200

  Methods in org.apache.commons.compress.harmony.unpack200 that return Codec
  Modifier and Type
  Method
  Description
  `Codec`
  AttributeLayout.`getCodec()`