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

- Packages that use Pack200Exception
  Package | Description
  --- | ---
  org.apache.commons.compress.harmony.pack200 |
  org.apache.commons.compress.harmony.unpack200 |
  org.apache.commons.compress.harmony.unpack200.bytecode |
  org.apache.commons.compress.harmony.unpack200.bytecode.forms |

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

    Methods in org.apache.commons.compress.harmony.pack200 that throw Pack200Exception
    Modifier and Type | Method and Description
    --- | ---
    `abstract int` | Codec.`decode(InputStream in)` Decode a sequence of bytes from the given input stream, returning the value as a long.
    `int` | PopulationCodec.`decode(InputStream in)`
    `int` | RunCodec.`decode(InputStream in)`
    `int` | BHSDCodec.`decode(InputStream in)`
    `abstract int` | Codec.`decode(InputStream in, long last)` Decode a sequence of bytes from the given input stream, returning the value as a long.
    `int` | PopulationCodec.`decode(InputStream in, long last)`
    `int` | RunCodec.`decode(InputStream in, long last)`
    `int` | BHSDCodec.`decode(InputStream in, long last)`
    `int[]` | Codec.`decodeInts(int n, InputStream in)` Decodes a sequence of `n` values from `in`.
    `int[]` | PopulationCodec.`decodeInts(int n, InputStream in)`
    `int[]` | RunCodec.`decodeInts(int n, InputStream in)`
    `int[]` | BHSDCodec.`decodeInts(int n, InputStream in)`
    `int[]` | Codec.`decodeInts(int n, InputStream in, int firstValue)` Decodes a sequence of `n` values from `in`.
    `int[]` | BHSDCodec.`decodeInts(int n, InputStream in, int firstValue)`
    `abstract byte[]` | Codec.`encode(int value)` Encode a single value into a sequence of bytes.
    `byte[]` | PopulationCodec.`encode(int value)`
    `byte[]` | RunCodec.`encode(int value)`
    `byte[]` | BHSDCodec.`encode(int value)`
    `byte[]` | Codec.`encode(int[] ints)` Encode a sequence of integers into a byte array
    `byte[]` | PopulationCodec.`encode(int[] favoured, int[] tokens, int[] unfavoured)`
    `abstract byte[]` | Codec.`encode(int value, int last)` Encode a single value into a sequence of bytes.
    `byte[]` | PopulationCodec.`encode(int value, int last)`
    `byte[]` | RunCodec.`encode(int value, int last)`
    `byte[]` | BHSDCodec.`encode(int value, int last)`
    `byte[]` | BandSet.`encodeBandInt(String name, int[] ints, BHSDCodec defaultCodec)` Encode a band of integers.
    `protected byte[]` | BandSet.`encodeFlags(String name, long[][] flags, BHSDCodec loCodec, BHSDCodec hiCodec, boolean haveHiFlags)`
    `protected byte[]` | BandSet.`encodeFlags(String name, long[] flags, BHSDCodec loCodec, BHSDCodec hiCodec, boolean haveHiFlags)` Encode a band of longs (values are split into their high and low 32 bits and then encoded as two separate bands
    `byte[]` | BandSet.`encodeScalar(int[] band, BHSDCodec codec)` Encode a band without considering other Codecs
    `byte[]` | BandSet.`encodeScalar(int value, BHSDCodec codec)` Encode a single value with the given Codec
    `static Codec` | CodecEncoding.`getCodec(int value, InputStream in, Codec defaultCodec)` Returns the codec specified by the given value byte and optional byte header.
    `void` | Archive.`pack()` Pack the archive
    `void` | Segment.`pack(org.apache.commons.compress.harmony.pack200.Archive.SegmentUnit segmentUnit, OutputStream out, PackingOptions options)` The main method on Segment.
    `void` | CpBands.`pack(OutputStream out)`
    `void` | ClassBands.`pack(OutputStream out)`
    `void` | AttributeDefinitionBands.`pack(OutputStream out)`
    `abstract void` | BandSet.`pack(OutputStream out)` Write the packed set of bands to the given output stream
    `void` | SegmentHeader.`pack(OutputStream out)` Encode and write the SegmentHeader bands to the OutputStream
    `void` | IcBands.`pack(OutputStream out)`
    `void` | MetadataBandGroup.`pack(OutputStream out)`
    `void` | FileBands.`pack(OutputStream out)`
    `void` | NewAttributeBands.`pack(OutputStream out)`
    `void` | NewAttributeBands.AttributeLayoutElement.`pack(OutputStream out)`
    `void` | NewAttributeBands.Integral.`pack(OutputStream out)`
    `void` | NewAttributeBands.Replication.`pack(OutputStream out)`
    `void` | NewAttributeBands.Union.`pack(OutputStream out)`
    `void` | NewAttributeBands.Reference.`pack(OutputStream out)`
    `void` | NewAttributeBands.Callable.`pack(OutputStream out)`
    `void` | NewAttributeBands.UnionCase.`pack(OutputStream out)`
    `void` | BcBands.`pack(OutputStream out)`

    Constructors in org.apache.commons.compress.harmony.pack200 that throw Pack200Exception
    Constructor and Description
    `RunCodec(int k, Codec aCodec, Codec bCodec)`

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

    Methods in org.apache.commons.compress.harmony.unpack200 that throw Pack200Exception
    Modifier and Type | Method and Description
    --- | ---
    `void` | AttributeLayoutMap.`checkMap()` The map should not contain the same layout and name combination more than once for each context.
    `int[]` | BandSet.`decodeBandInt(String name, InputStream in, BHSDCodec codec, int count)` Decode a band and return an array of `int` values
    `int[][]` | BandSet.`decodeBandInt(String name, InputStream in, BHSDCodec defaultCodec, int[] counts)` Decode a band and return an array of `int[]` values
    `AttributeLayout` | AttributeLayoutMap.`getAttributeLayout(int index, int context)`
    `AttributeLayout` | AttributeLayoutMap.`getAttributeLayout(String name, int context)`
    `long[]` | ClassBands.`getClassFlags()`
    `ConstantPoolEntry` | SegmentConstantPool.`getClassSpecificPoolEntry(int cp, long desiredIndex, String desiredClassName)` Subset the constant pool of the specified type to be just that which has the specified class name.
    `ConstantPoolEntry` | SegmentConstantPool.`getConstantPoolEntry(int cp, long value)`
    `long[][]` | ClassBands.`getFieldFlags()`
    `ConstantPoolEntry` | SegmentConstantPool.`getInitMethodPoolEntry(int cp, long value, String desiredClassName)` Answer the init method for the specified class.
    `long[][]` | ClassBands.`getMethodFlags()`
    `ClassFileEntry` | SegmentConstantPool.`getValue(int cp, long value)`
    `ClassFileEntry` | AttributeLayout.`getValue(long value, SegmentConstantPool pool)`
    `ClassFileEntry` | AttributeLayout.`getValue(long value, String type, SegmentConstantPool pool)`
    `List` | NewAttributeBands.`parseAttributes(InputStream in, int occurrenceCount)` Parse the bands relating to this AttributeLayout and return the correct class file attributes as a List of `Attribute`.
    `CPClass[]` | BandSet.`parseCPClassReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPNameAndType[]` | BandSet.`parseCPDescriptorReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPDouble[]` | BandSet.`parseCPDoubleReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPFieldRef[]` | BandSet.`parseCPFieldRefReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPFloat[]` | BandSet.`parseCPFloatReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPInterfaceMethodRef[]` | BandSet.`parseCPInterfaceMethodRefReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPInteger[]` | BandSet.`parseCPIntReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPLong[]` | BandSet.`parseCPLongReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPMethodRef[]` | BandSet.`parseCPMethodRefReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPUTF8[]` | BandSet.`parseCPSignatureReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `protected CPUTF8[][]` | BandSet.`parseCPSignatureReferences(String name, InputStream in, BHSDCodec codec, int[] counts)`
    `CPString[]` | BandSet.`parseCPStringReferences(String name, InputStream in, BHSDCodec codec, int count)`
    `CPUTF8[]` | BandSet.`parseCPUTF8References(String name, InputStream in, BHSDCodec codec, int count)`
    `CPUTF8[][]` | BandSet.`parseCPUTF8References(String name, InputStream in, BHSDCodec codec, int[] counts)`
    `long[][]` | BandSet.`parseFlags(String name, InputStream in, int[] counts, BHSDCodec hiCodec, BHSDCodec loCodec)`
    `long[][]` | BandSet.`parseFlags(String name, InputStream in, int[] counts, BHSDCodec codec, boolean hasHi)`
    `long[]` | BandSet.`parseFlags(String name, InputStream in, int count, BHSDCodec hiCodec, BHSDCodec loCodec)`
    `long[]` | BandSet.`parseFlags(String name, InputStream in, int count, BHSDCodec codec, boolean hasHi)`
    `String[][]` | BandSet.`parseReferences(String name, InputStream in, BHSDCodec codec, int[] counts, String[] reference)` Parses count references from `in`, using `codec` to decode the values as indexes into `reference` (which is populated prior to this call).
    `String[]` | BandSet.`parseReferences(String name, InputStream in, BHSDCodec codec, int count, String[] reference)` Parses count references from `in`, using `codec` to decode the values as indexes into `reference` (which is populated prior to this call).
    `void` | FileBands.`processFileBits()`
    `void` | CpBands.`read(InputStream in)`
    `void` | ClassBands.`read(InputStream in)`
    `void` | AttrDefinitionBands.`read(InputStream in)`
    `abstract void` | BandSet.`read(InputStream inputStream)`
    `void` | SegmentHeader.`read(InputStream in)`
    `void` | SegmentHeader.`read(InputStream in)`
    `void` | IcBands.`read(InputStream in)`
    `void` | FileBands.`read(InputStream in)`
    `void` | NewAttributeBands.`read(InputStream in)`
    `void` | BcBands.`read(InputStream in)`
    `void` | NewAttributeBands.Integral.`readBands(InputStream in, int count)`
    `void` | NewAttributeBands.Replication.`readBands(InputStream in, int count)`
    `void` | NewAttributeBands.Union.`readBands(InputStream in, int count)`
    `void` | NewAttributeBands.Reference.`readBands(InputStream in, int count)`
    `void` | NewAttributeBands.Callable.`readBands(InputStream in, int count)`
    `void` | NewAttributeBands.UnionCase.`readBands(InputStream in, int count)`
    `void` | AttrDefinitionBands.`unpack()`
    `abstract void` | BandSet.`unpack()`
    `void` | IcBands.`unpack()`
    `void` | Archive.`unpack()` Unpacks the Archive from the input file to the output file
    `void` | NewAttributeBands.`unpack()`
    `void` | BcBands.`unpack()`
    `void` | BandSet.`unpack(InputStream in)`
    `void` | Segment.`unpack(InputStream in, JarOutputStream out)` Unpacks a packed stream (either .pack. or .pack.gz) into a corresponding JarOuputStream.
    `void` | Segment.`writeJar(JarOutputStream out)` Writes the segment to an output stream.

    Constructors in org.apache.commons.compress.harmony.unpack200 that throw Pack200Exception
    Constructor and Description
    `AttributeLayout(String name, int context, String layout, int index)` Construct a default AttributeLayout (equivalent to `new AttributeLayout(name, context, layout, index, true);`)
    `AttributeLayout(String name, int context, String layout, int index, boolean isDefault)`
    `AttributeLayoutMap()`
    `SegmentOptions(int options)` Creates a new segment options with the given integer value.

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

    Methods in org.apache.commons.compress.harmony.unpack200.bytecode that throw Pack200Exception
    Modifier and Type | Method and Description
    --- | ---
    `void` | LocalVariableTypeTableAttribute.`renumber(List byteCodeOffsets)`
    `void` | LocalVariableTableAttribute.`renumber(List byteCodeOffsets)`
    `void` | BCIRenumberedAttribute.`renumber(List byteCodeOffsets)` In Pack200, line number tables are BCI renumbered.

  - ### Uses of Pack200Exception in org.apache.commons.compress.harmony.unpack200.bytecode.forms

    Methods in org.apache.commons.compress.harmony.unpack200.bytecode.forms that throw Pack200Exception
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ClassRefForm.`setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)`
    `protected void` | StringRefForm.`setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)`
    `protected void` | ReferenceForm.`setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)`
    `protected void` | NarrowClassRefForm.`setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)`
    `protected void` | InitMethodReferenceForm.`setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)`
    `protected void` | SingleByteReferenceForm.`setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)`
    `protected void` | ClassSpecificReferenceForm.`setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)`
    `protected void` | NewInitMethodRefForm.`setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)`

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.