Uses of Class
org.apache.commons.compress.harmony.pack200.Pack200Exception
Packages that use Pack200Exception
Package
Description
Internal package.
Internal package.
Internal package.
Internal package.
-
Uses of Pack200Exception in org.apache.commons.compress.harmony.pack200
Methods in org.apache.commons.compress.harmony.pack200 that throw Pack200ExceptionModifier and TypeMethodDescriptionintBHSDCodec.decode(InputStream in) intBHSDCodec.decode(InputStream in, long last) abstract intCodec.decode(InputStream in) Decodes a sequence of bytes from the given input stream, returning the value as a long.abstract intCodec.decode(InputStream in, long last) Decodes a sequence of bytes from the given input stream, returning the value as a long.intPopulationCodec.decode(InputStream in) intPopulationCodec.decode(InputStream in, long last) intRunCodec.decode(InputStream in) intRunCodec.decode(InputStream in, long last) int[]BHSDCodec.decodeInts(int n, InputStream in) int[]BHSDCodec.decodeInts(int n, InputStream in, int firstValue) int[]Codec.decodeInts(int n, InputStream in) Decodes a sequence ofnvalues fromin.int[]Codec.decodeInts(int n, InputStream in, int firstValue) Decodes a sequence ofnvalues fromin.int[]PopulationCodec.decodeInts(int n, InputStream in) int[]RunCodec.decodeInts(int n, InputStream in) byte[]BHSDCodec.encode(int value) byte[]BHSDCodec.encode(int value, int last) abstract byte[]Codec.encode(int value) Encodes a single value into a sequence of bytes.byte[]Codec.encode(int[] ints) Encodes a sequence of integers into a byte arrayabstract byte[]Codec.encode(int value, int last) Encodes a single value into a sequence of bytes.byte[]PopulationCodec.encode(int value) byte[]PopulationCodec.encode(int[] favoured, int[] tokens, int[] unfavoured) byte[]PopulationCodec.encode(int value, int last) byte[]RunCodec.encode(int value) byte[]RunCodec.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 bandsbyte[]BandSet.encodeScalar(int[] band, BHSDCodec codec) Encode a band without considering other Codecsbyte[]BandSet.encodeScalar(int value, BHSDCodec codec) Encode a single value with the given Codecstatic CodecCodecEncoding.getCodec(int value, InputStream in, Codec defaultCodec) Gets the codec specified by the given value byte and optional byte header.voidArchive.pack()Packs the archive.voidAttributeDefinitionBands.pack(OutputStream out) abstract voidBandSet.pack(OutputStream out) Write the packed set of bands to the given output streamvoidBcBands.pack(OutputStream out) voidClassBands.pack(OutputStream out) voidCpBands.pack(OutputStream out) voidFileBands.pack(OutputStream out) voidIcBands.pack(OutputStream outputStream) voidMetadataBandGroup.pack(OutputStream out) voidNewAttributeBands.AttributeLayoutElement.pack(OutputStream ouputStream) voidNewAttributeBands.Callable.pack(OutputStream outputStream) voidNewAttributeBands.Integral.pack(OutputStream outputStream) voidNewAttributeBands.pack(OutputStream outputStream) voidNewAttributeBands.Reference.pack(OutputStream outputStream) voidNewAttributeBands.Replication.pack(OutputStream out) voidNewAttributeBands.Union.pack(OutputStream outputStream) voidNewAttributeBands.UnionCase.pack(OutputStream outputStream) voidSegment.pack(org.apache.commons.compress.harmony.pack200.Archive.SegmentUnit segmentUnit, OutputStream out, PackingOptions options) The main method on Segment.voidSegmentHeader.pack(OutputStream out) Encode and write the SegmentHeader bands to the OutputStreamConstructors in org.apache.commons.compress.harmony.pack200 that throw Pack200Exception -
Uses of Pack200Exception in org.apache.commons.compress.harmony.unpack200
Methods in org.apache.commons.compress.harmony.unpack200 that throw Pack200ExceptionModifier and TypeMethodDescriptionvoidAttributeLayoutMap.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) Decodes a band and return an array ofintvalues.int[][]BandSet.decodeBandInt(String name, InputStream in, BHSDCodec defaultCodec, int[] counts) Decodes a band and return an array ofint[]values.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.SegmentConstantPool.getConstantPoolEntry(int cp, long value) SegmentConstantPool.getInitMethodPoolEntry(int cp, long value, String desiredClassName) Answer the init method for the specified class.AttributeLayout.getValue(long value, String type, SegmentConstantPool pool) AttributeLayout.getValue(long value, SegmentConstantPool pool) SegmentConstantPool.getValue(int cp, long value) NewAttributeBands.parseAttributes(InputStream in, int occurrenceCount) Parse the bands relating to this AttributeLayout and return the correct class file attributes as a List ofAttribute.CPClass[]BandSet.parseCPClassReferences(String name, InputStream in, BHSDCodec codec, int count) BandSet.parseCPDescriptorReferences(String name, InputStream in, BHSDCodec codec, int count) CPDouble[]BandSet.parseCPDoubleReferences(String name, InputStream in, BHSDCodec codec, int count) BandSet.parseCPFieldRefReferences(String name, InputStream in, BHSDCodec codec, int count) CPFloat[]BandSet.parseCPFloatReferences(String name, InputStream in, BHSDCodec codec, int count) BandSet.parseCPInterfaceMethodRefReferences(String name, InputStream in, BHSDCodec codec, int count) BandSet.parseCPIntReferences(String name, InputStream in, BHSDCodec codec, int count) CPLong[]BandSet.parseCPLongReferences(String name, InputStream in, BHSDCodec codec, int count) 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 codec, boolean hasHi) long[][]BandSet.parseFlags(String name, InputStream in, int[] counts, BHSDCodec hiCodec, BHSDCodec loCodec) long[]BandSet.parseFlags(String name, InputStream in, int count, BHSDCodec codec, boolean hasHi) long[]BandSet.parseFlags(String name, InputStream in, int count, BHSDCodec hiCodec, BHSDCodec loCodec) String[][]BandSet.parseReferences(String name, InputStream in, BHSDCodec codec, int[] counts, String[] reference) Parses count references fromin, usingcodecto decode the values as indexes intoreference(which is populated prior to this call).String[]BandSet.parseReferences(String name, InputStream in, BHSDCodec codec, int count, String[] reference) Parses count references fromin, usingcodecto decode the values as indexes intoreference(which is populated prior to this call).voidAttrDefinitionBands.read(InputStream in) abstract voidBandSet.read(InputStream inputStream) voidBcBands.read(InputStream in) voidClassBands.read(InputStream in) voidCpBands.read(InputStream in) voidFileBands.read(InputStream in) voidIcBands.read(InputStream in) voidNewAttributeBands.read(InputStream in) voidSegmentHeader.read(InputStream in) voidNewAttributeBands.Callable.readBands(InputStream in, int count) voidNewAttributeBands.Integral.readBands(InputStream in, int count) voidNewAttributeBands.Reference.readBands(InputStream in, int count) voidNewAttributeBands.Replication.readBands(InputStream in, int count) voidNewAttributeBands.Union.readBands(InputStream in, int count) voidNewAttributeBands.UnionCase.readBands(InputStream in, int count) voidArchive.unpack()Unpacks the Archive from the input file to the output filevoidAttrDefinitionBands.unpack()abstract voidBandSet.unpack()voidBandSet.unpack(InputStream in) voidBcBands.unpack()voidIcBands.unpack()voidNewAttributeBands.unpack()voidSegment.unpack(InputStream inputStream, JarOutputStream out) Unpacks a packed stream (either .pack. or .pack.gz) into a corresponding JarOuputStream.Constructors in org.apache.commons.compress.harmony.unpack200 that throw Pack200ExceptionModifierConstructorDescriptionAttributeLayout(String name, int context, String layout, int index) Constructs a default AttributeLayout (equivalent tonew AttributeLayout(name, context, layout, index, true);)AttributeLayout(String name, int context, String layout, int index, boolean isDefault) 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 Pack200ExceptionModifier and TypeMethodDescriptionvoidIn Pack200, line number tables are BCI renumbered.voidvoid -
Uses of Pack200Exception in org.apache.commons.compress.harmony.unpack200.bytecode.forms
Methods in org.apache.commons.compress.harmony.unpack200.bytecode.forms that throw Pack200ExceptionModifier and TypeMethodDescriptionprotected voidClassRefForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) protected voidClassSpecificReferenceForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) protected voidInitMethodReferenceForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) protected voidNarrowClassRefForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) protected voidNewInitMethodRefForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) protected voidReferenceForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) protected voidSingleByteReferenceForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) protected voidStringRefForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)