Uses of Class
org.apache.commons.compress.harmony.pack200.Pack200Exception
-
-
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 Description intBHSDCodec. decode(java.io.InputStream in)intBHSDCodec. decode(java.io.InputStream in, long last)abstract intCodec. decode(java.io.InputStream in)Decode a sequence of bytes from the given input stream, returning the value as a long.abstract intCodec. decode(java.io.InputStream in, long last)Decode a sequence of bytes from the given input stream, returning the value as a long.intPopulationCodec. decode(java.io.InputStream in)intPopulationCodec. decode(java.io.InputStream in, long last)intRunCodec. decode(java.io.InputStream in)intRunCodec. decode(java.io.InputStream in, long last)int[]BHSDCodec. decodeInts(int n, java.io.InputStream in)int[]BHSDCodec. decodeInts(int n, java.io.InputStream in, int firstValue)int[]Codec. decodeInts(int n, java.io.InputStream in)Decodes a sequence ofnvalues fromin.int[]Codec. decodeInts(int n, java.io.InputStream in, int firstValue)Decodes a sequence ofnvalues fromin.int[]PopulationCodec. decodeInts(int n, java.io.InputStream in)int[]RunCodec. decodeInts(int n, java.io.InputStream in)byte[]BHSDCodec. encode(int value)byte[]BHSDCodec. encode(int value, int last)abstract byte[]Codec. encode(int value)Encode a single value into a sequence of bytes.byte[]Codec. encode(int[] ints)Encode a sequence of integers into a byte arrayabstract byte[]Codec. encode(int value, int last)Encode 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(java.lang.String name, int[] ints, BHSDCodec defaultCodec)Encode a band of integers.protected byte[]BandSet. encodeFlags(java.lang.String name, long[][] flags, BHSDCodec loCodec, BHSDCodec hiCodec, boolean haveHiFlags)protected byte[]BandSet. encodeFlags(java.lang.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, java.io.InputStream in, Codec defaultCodec)Returns the codec specified by the given value byte and optional byte header.voidArchive. pack()Pack the archivevoidAttributeDefinitionBands. pack(java.io.OutputStream out)abstract voidBandSet. pack(java.io.OutputStream out)Write the packed set of bands to the given output streamvoidBcBands. pack(java.io.OutputStream out)voidClassBands. pack(java.io.OutputStream out)voidCpBands. pack(java.io.OutputStream out)voidFileBands. pack(java.io.OutputStream out)voidIcBands. pack(java.io.OutputStream out)voidMetadataBandGroup. pack(java.io.OutputStream out)voidNewAttributeBands.AttributeLayoutElement. pack(java.io.OutputStream out)voidNewAttributeBands.Callable. pack(java.io.OutputStream out)voidNewAttributeBands.Integral. pack(java.io.OutputStream out)voidNewAttributeBands. pack(java.io.OutputStream out)voidNewAttributeBands.Reference. pack(java.io.OutputStream out)voidNewAttributeBands.Replication. pack(java.io.OutputStream out)voidNewAttributeBands.Union. pack(java.io.OutputStream out)voidNewAttributeBands.UnionCase. pack(java.io.OutputStream out)voidSegment. pack(org.apache.commons.compress.harmony.pack200.Archive.SegmentUnit segmentUnit, java.io.OutputStream out, PackingOptions options)The main method on Segment.voidSegmentHeader. pack(java.io.OutputStream out)Encode and write the SegmentHeader bands to the OutputStreamConstructors in org.apache.commons.compress.harmony.pack200 that throw Pack200Exception Constructor 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 Description voidAttributeLayoutMap. checkMap()The map should not contain the same layout and name combination more than once for each context.int[]BandSet. decodeBandInt(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)Decode a band and return an array ofintvaluesint[][]BandSet. decodeBandInt(java.lang.String name, java.io.InputStream in, BHSDCodec defaultCodec, int[] counts)Decode a band and return an array ofint[]valuesAttributeLayoutAttributeLayoutMap. getAttributeLayout(int index, int context)AttributeLayoutAttributeLayoutMap. getAttributeLayout(java.lang.String name, int context)long[]ClassBands. getClassFlags()ConstantPoolEntrySegmentConstantPool. getClassSpecificPoolEntry(int cp, long desiredIndex, java.lang.String desiredClassName)Subset the constant pool of the specified type to be just that which has the specified class name.ConstantPoolEntrySegmentConstantPool. getConstantPoolEntry(int cp, long value)long[][]ClassBands. getFieldFlags()ConstantPoolEntrySegmentConstantPool. getInitMethodPoolEntry(int cp, long value, java.lang.String desiredClassName)Answer the init method for the specified class.long[][]ClassBands. getMethodFlags()ClassFileEntryAttributeLayout. getValue(long value, java.lang.String type, SegmentConstantPool pool)ClassFileEntryAttributeLayout. getValue(long value, SegmentConstantPool pool)ClassFileEntrySegmentConstantPool. getValue(int cp, long value)java.util.ListNewAttributeBands. parseAttributes(java.io.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(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPNameAndType[]BandSet. parseCPDescriptorReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPDouble[]BandSet. parseCPDoubleReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPFieldRef[]BandSet. parseCPFieldRefReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPFloat[]BandSet. parseCPFloatReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPInterfaceMethodRef[]BandSet. parseCPInterfaceMethodRefReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPInteger[]BandSet. parseCPIntReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPLong[]BandSet. parseCPLongReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPMethodRef[]BandSet. parseCPMethodRefReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPUTF8[]BandSet. parseCPSignatureReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)protected CPUTF8[][]BandSet. parseCPSignatureReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int[] counts)CPString[]BandSet. parseCPStringReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPUTF8[]BandSet. parseCPUTF8References(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)CPUTF8[][]BandSet. parseCPUTF8References(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int[] counts)long[][]BandSet. parseFlags(java.lang.String name, java.io.InputStream in, int[] counts, BHSDCodec codec, boolean hasHi)long[][]BandSet. parseFlags(java.lang.String name, java.io.InputStream in, int[] counts, BHSDCodec hiCodec, BHSDCodec loCodec)long[]BandSet. parseFlags(java.lang.String name, java.io.InputStream in, int count, BHSDCodec codec, boolean hasHi)long[]BandSet. parseFlags(java.lang.String name, java.io.InputStream in, int count, BHSDCodec hiCodec, BHSDCodec loCodec)java.lang.String[][]BandSet. parseReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int[] counts, java.lang.String[] reference)Parses count references fromin, usingcodecto decode the values as indexes intoreference(which is populated prior to this call).java.lang.String[]BandSet. parseReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count, java.lang.String[] reference)Parses count references fromin, usingcodecto decode the values as indexes intoreference(which is populated prior to this call).voidFileBands. processFileBits()voidAttrDefinitionBands. read(java.io.InputStream in)abstract voidBandSet. read(java.io.InputStream inputStream)voidBcBands. read(java.io.InputStream in)voidClassBands. read(java.io.InputStream in)voidCpBands. read(java.io.InputStream in)voidFileBands. read(java.io.InputStream in)voidIcBands. read(java.io.InputStream in)voidNewAttributeBands. read(java.io.InputStream in)voidSegmentHeader. read(java.io.InputStream in)voidSegmentHeader. read(java.io.InputStream in)voidNewAttributeBands.Callable. readBands(java.io.InputStream in, int count)voidNewAttributeBands.Integral. readBands(java.io.InputStream in, int count)voidNewAttributeBands.Reference. readBands(java.io.InputStream in, int count)voidNewAttributeBands.Replication. readBands(java.io.InputStream in, int count)voidNewAttributeBands.Union. readBands(java.io.InputStream in, int count)voidNewAttributeBands.UnionCase. readBands(java.io.InputStream in, int count)voidArchive. unpack()Unpacks the Archive from the input file to the output filevoidAttrDefinitionBands. unpack()abstract voidBandSet. unpack()voidBandSet. unpack(java.io.InputStream in)voidBcBands. unpack()voidIcBands. unpack()voidNewAttributeBands. unpack()voidSegment. unpack(java.io.InputStream in, java.util.jar.JarOutputStream out)Unpacks a packed stream (either .pack.voidSegment. writeJar(java.util.jar.JarOutputStream out)Writes the segment to an output stream.Constructors in org.apache.commons.compress.harmony.unpack200 that throw Pack200Exception Constructor Description AttributeLayout(java.lang.String name, int context, java.lang.String layout, int index)Construct a default AttributeLayout (equivalent tonew AttributeLayout(name, context, layout, index, true);)AttributeLayout(java.lang.String name, int context, java.lang.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 Description voidBCIRenumberedAttribute. renumber(java.util.List byteCodeOffsets)In Pack200, line number tables are BCI renumbered.voidLocalVariableTableAttribute. renumber(java.util.List byteCodeOffsets)voidLocalVariableTypeTableAttribute. renumber(java.util.List byteCodeOffsets) -
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 Description protected 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)
-