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 TypeMethodDescriptionint
BHSDCodec.decode
(InputStream in) int
BHSDCodec.decode
(InputStream in, long last) abstract int
Codec.decode
(InputStream in) Decodes a sequence of bytes from the given input stream, returning the value as a long.abstract int
Codec.decode
(InputStream in, long last) Decodes a sequence of bytes from the given input stream, returning the value as a long.int
PopulationCodec.decode
(InputStream in) int
PopulationCodec.decode
(InputStream in, long last) int
RunCodec.decode
(InputStream in) int
RunCodec.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 ofn
values fromin
.int[]
Codec.decodeInts
(int n, InputStream in, int firstValue) Decodes a sequence ofn
values 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 array.abstract 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 Codecs.byte[]
BandSet.encodeScalar
(int value, BHSDCodec codec) Encodes a single value with the given Codec.static Codec
CodecEncoding.getCodec
(int value, InputStream in, Codec defaultCodec) Gets the codec specified by the given value byte and optional byte header.void
Archive.pack()
Packs the archive.void
AttributeDefinitionBands.pack
(OutputStream out) abstract void
BandSet.pack
(OutputStream out) Writes the packed set of bands to the given output stream.void
BcBands.pack
(OutputStream out) void
ClassBands.pack
(OutputStream out) void
CpBands.pack
(OutputStream out) void
FileBands.pack
(OutputStream out) void
IcBands.pack
(OutputStream outputStream) void
MetadataBandGroup.pack
(OutputStream out) void
NewAttributeBands.AttributeLayoutElement.pack
(OutputStream ouputStream) void
NewAttributeBands.Callable.pack
(OutputStream outputStream) void
NewAttributeBands.Integral.pack
(OutputStream outputStream) void
NewAttributeBands.pack
(OutputStream outputStream) void
NewAttributeBands.Reference.pack
(OutputStream outputStream) void
NewAttributeBands.Replication.pack
(OutputStream out) void
NewAttributeBands.Union.pack
(OutputStream outputStream) void
NewAttributeBands.UnionCase.pack
(OutputStream outputStream) void
Segment.pack
(org.apache.commons.compress.harmony.pack200.Archive.SegmentUnit segmentUnit, OutputStream out, PackingOptions options) The main method on Segment.void
SegmentHeader.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 TypeMethodDescriptionvoid
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) Decodes a band and return an array ofint
values.int[][]
BandSet.decodeBandInt
(String name, InputStream in, BHSDCodec defaultCodec, int[] counts) Decodes a band and return an array ofint[]
values.SegmentConstantPool.getClassPoolEntry
(String name) Gets the CPClass associated with a class name.SegmentConstantPool.getClassSpecificPoolEntry
(int cp, long desiredIndex, String desiredClassName) Gets the subset constant pool of the specified type to be just that which has the specified class name.SegmentConstantPool.getConstantPoolEntry
(int type, long index) Gets the constant pool entry of the given type and index.SegmentConstantPool.getInitMethodPoolEntry
(int cp, long value, String desiredClassName) Gets theinit
method for the specified class.AttributeLayout.getValue
(long longIndex, String type, SegmentConstantPool pool) Gets the ClassFileEntry for the given input.AttributeLayout.getValue
(long longIndex, SegmentConstantPool pool) Gets the ClassFileEntry for the given input.SegmentConstantPool.getValue
(int cp, long longIndex) 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) Parses an input stream into an array ofCPClass
.BandSet.parseCPDescriptorReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPNameAndType
.CPDouble[]
BandSet.parseCPDoubleReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPDouble
.BandSet.parseCPFieldRefReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPFieldRef
.CPFloat[]
BandSet.parseCPFloatReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPFloat
.BandSet.parseCPInterfaceMethodRefReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPInterfaceMethodRef
.BandSet.parseCPIntReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPInteger
.CPLong[]
BandSet.parseCPLongReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPLong
.BandSet.parseCPMethodRefReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPMethodRef
.CPUTF8[]
BandSet.parseCPSignatureReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPUTF8
.protected CPUTF8[][]
BandSet.parseCPSignatureReferences
(String name, InputStream in, BHSDCodec codec, int[] counts) Parses an input stream into an array of array ofCPUTF8
.CPString[]
BandSet.parseCPStringReferences
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPString
.CPUTF8[]
BandSet.parseCPUTF8References
(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPUTF8
.CPUTF8[][]
BandSet.parseCPUTF8References
(String name, InputStream in, BHSDCodec codec, int[] counts) Parses an input stream into an array of array ofCPUTF8
.long[][]
BandSet.parseFlags
(String name, InputStream in, int[] counts, BHSDCodec codec, boolean hasHi) Parses an input stream into an array of flags.long[][]
BandSet.parseFlags
(String name, InputStream in, int[] counts, BHSDCodec hiCodec, BHSDCodec loCodec) Parses an input stream into an array of flags.long[]
BandSet.parseFlags
(String name, InputStream in, int count, BHSDCodec codec, boolean hasHi) Parses an input stream into an array of flags.long[]
BandSet.parseFlags
(String name, InputStream in, int count, BHSDCodec hiCodec, BHSDCodec loCodec) Parses an input stream into an array of flags.String[][]
BandSet.parseReferences
(String name, InputStream in, BHSDCodec codec, int[] counts, String[] reference) Parses count references fromin
, usingcodec
to 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
, usingcodec
to decode the values as indexes intoreference
(which is populated prior to this call).void
AttrDefinitionBands.read
(InputStream in) abstract void
BandSet.read
(InputStream inputStream) Reads the input stream.void
BcBands.read
(InputStream in) void
ClassBands.read
(InputStream in) void
CpBands.read
(InputStream in) void
FileBands.read
(InputStream in) void
IcBands.read
(InputStream in) void
NewAttributeBands.read
(InputStream in) void
SegmentHeader.read
(InputStream in) void
NewAttributeBands.Callable.readBands
(InputStream in, int count) void
NewAttributeBands.Integral.readBands
(InputStream in, int count) void
NewAttributeBands.Reference.readBands
(InputStream in, int count) void
NewAttributeBands.Replication.readBands
(InputStream in, int count) void
NewAttributeBands.Union.readBands
(InputStream in, int count) void
NewAttributeBands.UnionCase.readBands
(InputStream in, int count) void
Archive.unpack()
Unpacks the Archive from the input file to the output file.void
AttrDefinitionBands.unpack()
abstract void
BandSet.unpack()
Unpacks this instance.void
BandSet.unpack
(InputStream in) Unpacks the input stream.void
BcBands.unpack()
void
IcBands.unpack()
void
NewAttributeBands.unpack()
void
Segment.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) Constructs a default AttributeLayout (equivalent tonew AttributeLayout(name, context, layout, index, true);
)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 TypeMethodDescriptionvoid
ByteCode.extractOperands
(OperandManager operandManager, Segment segment, int codeLength) void
In Pack200, line number tables are BCI renumbered.void
void
Constructors in org.apache.commons.compress.harmony.unpack200.bytecode that throw Pack200ExceptionModifierConstructorDescriptionCodeAttribute
(int maxStack, int maxLocals, byte[] codePacked, Segment segment, OperandManager operandManager, List<ExceptionTableEntry> exceptionTable) -
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 TypeMethodDescriptionabstract void
ByteCodeForm.setByteCodeOperands
(ByteCode byteCode, OperandManager operandManager, int codeLength) Sets the rewrite of the byteCode.void
IMethodRefForm.setByteCodeOperands
(ByteCode byteCode, OperandManager operandManager, int codeLength) void
MultiANewArrayForm.setByteCodeOperands
(ByteCode byteCode, OperandManager operandManager, int codeLength) void
NewClassRefForm.setByteCodeOperands
(ByteCode byteCode, OperandManager operandManager, int codeLength) void
ReferenceForm.setByteCodeOperands
(ByteCode byteCode, OperandManager operandManager, int codeLength) protected void
ClassRefForm.setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) protected void
ClassSpecificReferenceForm.setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) protected void
InitMethodReferenceForm.setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) protected void
NarrowClassRefForm.setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) protected void
NewInitMethodRefForm.setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) protected void
ReferenceForm.setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) Sets the nested entries.protected void
SingleByteReferenceForm.setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset) protected void
StringRefForm.setNestedEntries
(ByteCode byteCode, OperandManager operandManager, int offset)