Uses of Class
kala.compress.harmony.pack200.Pack200Exception
-
Packages that use Pack200Exception Package Description kala.compress.harmony.pack200 Internal package.kala.compress.harmony.unpack200 Internal package.kala.compress.harmony.unpack200.bytecode Internal package.kala.compress.harmony.unpack200.bytecode.forms Internal package. -
-
Uses of Pack200Exception in kala.compress.harmony.pack200
Methods in kala.compress.harmony.pack200 that throw Pack200Exception Modifier and Type Method Description private BandSet.BandAnalysisResultsBandSet. analyseBand(java.lang.String name, int[] band, BHSDCodec defaultCodec)(package private) intCodec. check(int n, java.io.InputStream in)intBHSDCodec. decode(java.io.InputStream in)intBHSDCodec. decode(java.io.InputStream in, long last)abstract intCodec. decode(java.io.InputStream in)Decodes a sequence of bytes from the given input stream, returning the value as a long.abstract intCodec. decode(java.io.InputStream in, long last)Decodes 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)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 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(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 Codecprivate voidBandSet. encodeWithPopulationCodec(int[] band, BHSDCodec defaultCodec, BandSet.BandData bandData, BandSet.BandAnalysisResults results)static CodecCodecEncoding. getCodec(int value, java.io.InputStream in, Codec defaultCodec)Gets the codec specified by the given value byte and optional byte header.voidArchive. pack()Packs the archive.voidAttributeDefinitionBands. 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 outputStream)voidMetadataBandGroup. pack(java.io.OutputStream out)voidNewAttributeBands.AttributeLayoutElement. pack(java.io.OutputStream ouputStream)voidNewAttributeBands.Callable. pack(java.io.OutputStream outputStream)voidNewAttributeBands.Integral. pack(java.io.OutputStream outputStream)voidNewAttributeBands. pack(java.io.OutputStream outputStream)voidNewAttributeBands.Reference. pack(java.io.OutputStream outputStream)voidNewAttributeBands.Replication. pack(java.io.OutputStream out)voidNewAttributeBands.Union. pack(java.io.OutputStream outputStream)voidNewAttributeBands.UnionCase. pack(java.io.OutputStream outputStream)voidSegment. pack(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 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(java.io.OutputStream out)private voidSegmentHeader. writeArchiveSpecialCounts(java.io.OutputStream out)private voidClassBands. writeClassAttributeBands(java.io.OutputStream out)private voidSegmentHeader. writeClassCounts(java.io.OutputStream out)private voidClassBands. writeCodeAttributeBands(java.io.OutputStream out)private voidClassBands. writeCodeBands(java.io.OutputStream out)private voidCpBands. writeCpClass(java.io.OutputStream out)private voidSegmentHeader. writeCpCounts(java.io.OutputStream out)private voidCpBands. writeCpDescr(java.io.OutputStream out)private voidCpBands. writeCpDouble(java.io.OutputStream out)private voidCpBands. writeCpFloat(java.io.OutputStream out)private voidCpBands. writeCpInt(java.io.OutputStream out)private voidCpBands. writeCpLong(java.io.OutputStream out)private voidCpBands. writeCpMethodOrField(java.util.Set<CPMethodOrField> cp, java.io.OutputStream out, java.lang.String name)private voidCpBands. writeCpSignature(java.io.OutputStream out)private voidCpBands. writeCpString(java.io.OutputStream out)private voidCpBands. writeCpUtf8(java.io.OutputStream out)private voidClassBands. writeFieldAttributeBands(java.io.OutputStream out)private voidClassBands. writeMethodAttributeBands(java.io.OutputStream out)Constructors in kala.compress.harmony.pack200 that throw Pack200Exception Constructor Description RunCodec(int k, Codec aCodec, Codec bCodec) -
Uses of Pack200Exception in kala.compress.harmony.unpack200
Methods in kala.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)Decodes a band and return an array ofintvalues.int[][]BandSet. decodeBandInt(java.lang.String name, java.io.InputStream in, BHSDCodec defaultCodec, int[] counts)Decodes a band and return an array ofint[]values.private intSegmentHeader. decodeScalar(java.lang.String name, java.io.InputStream in, BHSDCodec codec)Decode a scalar from the band file.private int[]SegmentHeader. decodeScalar(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int n)Decode a number of scalars from the band file.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)private static AttributeLayout[]AttributeLayoutMap. getDefaultAttributeLayouts()ConstantPoolEntrySegmentConstantPool. getInitMethodPoolEntry(int cp, long value, java.lang.String desiredClassName)Answer the init method for the specified class.ClassFileEntryAttributeLayout. getValue(long value, java.lang.String type, SegmentConstantPool pool)ClassFileEntryAttributeLayout. getValue(long value, SegmentConstantPool pool)private static ClassFileEntryAttributeLayout. getValue(java.lang.String layout, long value, SegmentConstantPool pool)ClassFileEntrySegmentConstantPool. getValue(int cp, long value)private voidSegmentHeader. parseArchiveFileCounts(java.io.InputStream in)private voidSegmentHeader. parseArchiveSpecialCounts(java.io.InputStream in)java.util.List<Attribute>NewAttributeBands. 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.private voidClassBands. parseClassAttrBands(java.io.InputStream in)private voidSegmentHeader. parseClassCounts(java.io.InputStream in)private intClassBands. parseClassMetadataBands(java.io.InputStream in, int[] classAttrCalls)Parse the class metadata bands and return the number of backwards callables.private voidClassBands. parseCodeAttrBands(java.io.InputStream in, int codeFlagsCount)private voidClassBands. parseCodeBands(java.io.InputStream in)private voidCpBands. parseCpClass(java.io.InputStream in)Parses the constant pool class names, using#cpClassCountto populateCpBands.cpClassfromCpBands.cpUTF8.CPClass[]BandSet. parseCPClassReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)private voidSegmentHeader. parseCpCounts(java.io.InputStream in)private voidCpBands. parseCpDescriptor(java.io.InputStream in)Parses the constant pool descriptor definitions, using#cpDescriptorCountto populateCpBands.cpDescriptor.CPNameAndType[]BandSet. parseCPDescriptorReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)private voidCpBands. parseCpDouble(java.io.InputStream in)CPDouble[]BandSet. parseCPDoubleReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)private voidCpBands. parseCpField(java.io.InputStream in)Parses the constant pool field definitions, using#cpFieldCountto populateCpBands.cpFieldClassandCpBands.cpFieldDescriptor.CPFieldRef[]BandSet. parseCPFieldRefReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)private voidCpBands. parseCpFloat(java.io.InputStream in)CPFloat[]BandSet. parseCPFloatReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)private voidCpBands. parseCpIMethod(java.io.InputStream in)Parses the constant pool interface method definitions, using#cpIMethodCountto populateCpBands.cpIMethodClassandCpBands.cpIMethodDescriptor.private voidCpBands. parseCpInt(java.io.InputStream in)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)private voidCpBands. parseCpLong(java.io.InputStream in)CPLong[]BandSet. parseCPLongReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)private voidCpBands. parseCpMethod(java.io.InputStream in)Parses the constant pool method definitions, using#cpMethodCountto populateCpBands.cpMethodClassandCpBands.cpMethodDescriptor.CPMethodRef[]BandSet. parseCPMethodRefReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)private voidCpBands. parseCpSignature(java.io.InputStream in)Parses the constant pool signature classes, using#cpSignatureCountto populateCpBands.cpSignature.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)private voidCpBands. parseCpString(java.io.InputStream in)Parses the constant pool strings, using#cpStringCountto populateCpBands.cpStringfrom indexes intoCpBands.cpUTF8.CPString[]BandSet. parseCPStringReferences(java.lang.String name, java.io.InputStream in, BHSDCodec codec, int count)private voidCpBands. parseCpUtf8(java.io.InputStream in)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)private voidClassBands. parseFieldAttrBands(java.io.InputStream in)private voidClassBands. parseFieldBands(java.io.InputStream in)private intClassBands. parseFieldMetadataBands(java.io.InputStream in, int[] fieldAttrCalls)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)private MetadataBandGroup[]ClassBands. parseMetadata(java.io.InputStream in, java.lang.String[] RxA, int[] RxACount, int[] backwardsCallCounts, java.lang.String contextName)private voidClassBands. parseMethodAttrBands(java.io.InputStream in)private voidClassBands. parseMethodBands(java.io.InputStream in)private intClassBands. parseMethodMetadataBands(java.io.InputStream in, int[] methodAttrCalls)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).private voidSegment. parseSegment()This performs the actual work of parsing against a non-static instance of Segment.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)voidNewAttributeBands.AttributeLayoutElement. readBands(java.io.InputStream in, int count)Read the bands associated with this part of the layout.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)private voidSegment. readSegment(java.io.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 archivevoidArchive. 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 inputStream, java.util.jar.JarOutputStream out)Unpacks a packed stream (either .pack.(package private) voidSegment. unpackProcess()(package private) voidSegment. unpackRead(java.io.InputStream inputStream)Constructors in kala.compress.harmony.unpack200 that throw Pack200Exception Constructor Description AttributeLayout(java.lang.String name, int context, java.lang.String layout, int index)Constructs 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 kala.compress.harmony.unpack200.bytecode
Methods in kala.compress.harmony.unpack200.bytecode that throw Pack200Exception Modifier and Type Method Description voidBCIRenumberedAttribute. renumber(java.util.List<java.lang.Integer> byteCodeOffsets)In Pack200, line number tables are BCI renumbered.voidLocalVariableTableAttribute. renumber(java.util.List<java.lang.Integer> byteCodeOffsets)voidLocalVariableTypeTableAttribute. renumber(java.util.List<java.lang.Integer> byteCodeOffsets) -
Uses of Pack200Exception in kala.compress.harmony.unpack200.bytecode.forms
Methods in kala.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)
-