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 TypeMethodDescriptionprivate BandSet.BandAnalysisResultsBandSet.analyseBand(String name, int[] band, BHSDCodec defaultCodec) (package private) intCodec.check(int n, InputStream in) intBHSDCodec.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) private voidArchive.doNormalPack()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.private voidBandSet.encodeWithPopulationCodec(int[] band, BHSDCodec defaultCodec, BandSet.BandData bandData, BandSet.BandAnalysisResults results) static 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) Writes the packed set of bands to the given output stream.voidBcBands.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(Archive.SegmentUnit segmentUnit, OutputStream out, PackingOptions options) The main method on Segment.voidSegmentHeader.pack(OutputStream out) Encode and write the SegmentHeader bands to the OutputStreamprivate voidSegment.processClasses(Archive.SegmentUnit segmentUnit, org.objectweb.asm.Attribute[] attributes) private voidBandSet.tryCodecs(int[] band, BHSDCodec defaultCodec, BandSet.BandData bandData, BandSet.BandAnalysisResults results, byte[] encoded, BHSDCodec[] potentialCodecs) private voidSegmentHeader.writeArchiveFileCounts(OutputStream out) private voidSegmentHeader.writeArchiveSpecialCounts(OutputStream out) private voidClassBands.writeClassAttributeBands(OutputStream out) private voidSegmentHeader.writeClassCounts(OutputStream out) private voidClassBands.writeCodeAttributeBands(OutputStream out) private voidClassBands.writeCodeBands(OutputStream out) private voidCpBands.writeCpClass(OutputStream out) private voidSegmentHeader.writeCpCounts(OutputStream out) private voidCpBands.writeCpDescr(OutputStream out) private voidCpBands.writeCpDouble(OutputStream out) private voidCpBands.writeCpFloat(OutputStream out) private voidCpBands.writeCpInt(OutputStream out) private voidCpBands.writeCpLong(OutputStream out) private voidCpBands.writeCpMethodOrField(Set<CPMethodOrField> cp, OutputStream out, String name) private voidCpBands.writeCpSignature(OutputStream out) private voidCpBands.writeCpString(OutputStream out) private voidCpBands.writeCpUtf8(OutputStream out) private voidClassBands.writeFieldAttributeBands(OutputStream out) private voidClassBands.writeMethodAttributeBands(OutputStream out) Constructors 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.private intSegmentHeader.decodeScalar(String name, InputStream in, BHSDCodec codec) Decode a scalar from the band file.private int[]SegmentHeader.decodeScalar(String name, InputStream in, BHSDCodec codec, int n) Decode a number of scalars from the band file.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.private static AttributeLayout[]AttributeLayoutMap.getDefaultAttributeLayouts()SegmentConstantPool.getInitMethodPoolEntry(int cp, long value, String desiredClassName) Gets theinitmethod 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.private static ClassFileEntryAttributeLayout.getValue(String layout, long longIndex, SegmentConstantPool pool) SegmentConstantPool.getValue(int cp, long longIndex) private voidSegmentHeader.parseArchiveFileCounts(InputStream in) private voidSegmentHeader.parseArchiveSpecialCounts(InputStream in) NewAttributeBands.parseAttributes(InputStream in, int occurrenceCount) Parse the bands relating to this AttributeLayout and return the correct class file attributes as a List ofAttribute.private voidClassBands.parseClassAttrBands(InputStream in) private voidSegmentHeader.parseClassCounts(InputStream in) private intClassBands.parseClassMetadataBands(InputStream in, int[] classAttrCalls) Parse the class metadata bands and return the number of backwards callables.private voidClassBands.parseCodeAttrBands(InputStream in, int codeFlagsCount) private voidClassBands.parseCodeBands(InputStream in) private voidCpBands.parseCpClass(InputStream in) Parses the constant pool class names, using#cpClassCountto populateCpBands.cpClassfromCpBands.cpUTF8.CPClass[]BandSet.parseCPClassReferences(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPClass.private voidSegmentHeader.parseCpCounts(InputStream in) private voidCpBands.parseCpDescriptor(InputStream in) Parses the constant pool descriptor definitions, using#cpDescriptorCountto populateCpBands.cpDescriptor.BandSet.parseCPDescriptorReferences(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPNameAndType.private voidCpBands.parseCpDouble(InputStream in) CPDouble[]BandSet.parseCPDoubleReferences(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPDouble.private voidCpBands.parseCpField(InputStream in) Parses the constant pool field definitions, using#cpFieldCountto populateCpBands.cpFieldClassandCpBands.cpFieldDescriptor.BandSet.parseCPFieldRefReferences(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPFieldRef.private voidCpBands.parseCpFloat(InputStream in) CPFloat[]BandSet.parseCPFloatReferences(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPFloat.private voidCpBands.parseCpIMethod(InputStream in) Parses the constant pool interface method definitions, using#cpIMethodCountto populateCpBands.cpIMethodClassandCpBands.cpIMethodDescriptor.private voidCpBands.parseCpInt(InputStream in) 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.private voidCpBands.parseCpLong(InputStream in) CPLong[]BandSet.parseCPLongReferences(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPLong.private voidCpBands.parseCpMethod(InputStream in) Parses the constant pool method definitions, using#cpMethodCountto populateCpBands.cpMethodClassandCpBands.cpMethodDescriptor.BandSet.parseCPMethodRefReferences(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPMethodRef.private voidCpBands.parseCpSignature(InputStream in) Parses the constant pool signature classes, using#cpSignatureCountto populateCpBands.cpSignature.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.private voidCpBands.parseCpString(InputStream in) Parses the constant pool strings, using#cpStringCountto populateCpBands.cpStringfrom indexes intoCpBands.cpUTF8.CPString[]BandSet.parseCPStringReferences(String name, InputStream in, BHSDCodec codec, int count) Parses an input stream into an array ofCPString.private voidCpBands.parseCpUtf8(InputStream in) 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.private voidClassBands.parseFieldAttrBands(InputStream in) private voidClassBands.parseFieldBands(InputStream in) private intClassBands.parseFieldMetadataBands(InputStream in, int[] fieldAttrCalls) 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.private MetadataBandGroup[]ClassBands.parseMetadata(InputStream in, String[] RxA, int[] RxACount, int[] backwardsCallCounts, String contextName) private voidClassBands.parseMethodAttrBands(InputStream in) private voidClassBands.parseMethodBands(InputStream in) private intClassBands.parseMethodMetadataBands(InputStream in, int[] methodAttrCalls) 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).private voidSegment.parseSegment()Performs the actual work of parsing against a non-static instance of Segment.voidAttrDefinitionBands.read(InputStream in) abstract voidBandSet.read(InputStream inputStream) Reads the input stream.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.AttributeLayoutElement.readBands(InputStream in, int count) Reads the bands associated with this part of the layout.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) private voidSegment.readSegment(InputStream in) This performs reading the data from the stream into non-static instance of Segment.private voidSegmentHeader.setArchiveMajorVersion(int version) Sets the major version of this archive.private voidSegmentHeader.setArchiveMinorVersion(int version) Sets the minor version of this archive(package private) static intSegmentConstantPool.toIndex(long index) (package private) static intSegmentConstantPool.toIntExact(long index) voidArchive.unpack()Unpacks the Archive from the input file to the output file.voidAttrDefinitionBands.unpack()abstract voidBandSet.unpack()Unpacks this instance.voidBandSet.unpack(InputStream in) Unpacks the input stream.voidBcBands.unpack()voidIcBands.unpack()voidNewAttributeBands.unpack()voidSegment.unpack(InputStream inputStream, JarOutputStream out) Unpacks a packed stream (either .pack.(package private) voidSegment.unpackProcess()(package private) voidSegment.unpackRead(InputStream inputStream) 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 TypeMethodDescriptionvoidByteCode.extractOperands(OperandManager operandManager, Segment segment, int codeLength) voidIn Pack200, line number tables are BCI renumbered.voidvoidConstructors 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 voidByteCodeForm.setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength) Sets the rewrite of the byteCode.voidIMethodRefForm.setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength) voidMultiANewArrayForm.setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength) voidNewClassRefForm.setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength) voidReferenceForm.setByteCodeOperands(ByteCode byteCode, OperandManager operandManager, int codeLength) 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) Sets the nested entries.protected voidSingleByteReferenceForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset) protected voidStringRefForm.setNestedEntries(ByteCode byteCode, OperandManager operandManager, int offset)