Class AttributeDefinitionBands
java.lang.Object
org.apache.commons.compress.harmony.pack200.BandSet
org.apache.commons.compress.harmony.pack200.AttributeDefinitionBands
Attribute Definition bands define how any unknown attributes should be read by the decompressor.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class BandSet
BandSet.BandAnalysisResults, BandSet.BandData -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int0static final int3static final int1static final int2Fields inherited from class BandSet
segmentHeader -
Constructor Summary
ConstructorsConstructorDescriptionAttributeDefinitionBands(Segment segment, int effort, org.objectweb.asm.Attribute[] attributePrototypes) -
Method Summary
Modifier and TypeMethodDescriptionvoidAll input classes for the segment have now been read in, so this method is called so that this class can calculate/complete anything it could not do while classes were being read.voidpack(OutputStream out) Writes the packed set of bands to the given output stream.Methods inherited from class BandSet
cpEntryListToArray, cpEntryOrNullListToArray, encodeBandInt, encodeFlags, encodeFlags, encodeScalar, encodeScalar, integerListToArray, longListToArray
-
Field Details
-
CONTEXT_CLASS
-
CONTEXT_CODE
-
CONTEXT_FIELD
-
CONTEXT_METHOD
-
-
Constructor Details
-
AttributeDefinitionBands
public AttributeDefinitionBands(Segment segment, int effort, org.objectweb.asm.Attribute[] attributePrototypes)
-
-
Method Details
-
finaliseBands
All input classes for the segment have now been read in, so this method is called so that this class can calculate/complete anything it could not do while classes were being read. -
getClassAttributeLayouts
-
getCodeAttributeLayouts
-
getFieldAttributeLayouts
-
getMethodAttributeLayouts
-
pack
Description copied from class:BandSetWrites the packed set of bands to the given output stream.- Specified by:
packin classBandSet- Parameters:
out- TODO- Throws:
IOException- If an I/O error occurs.Pack200Exception- If a Pack200 semantic error occurs.
-