Class AttributeDefinitionBands
- java.lang.Object
-
- org.apache.commons.compress.harmony.pack200.BandSet
-
- org.apache.commons.compress.harmony.pack200.AttributeDefinitionBands
-
public class AttributeDefinitionBands extends BandSet
Attribute Definition bands define how any unknown attributes should be read by the decompressor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeDefinitionBands.AttributeDefinition-
Nested classes/interfaces inherited from class org.apache.commons.compress.harmony.pack200.BandSet
BandSet.BandAnalysisResults, BandSet.BandData
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTEXT_CLASSstatic intCONTEXT_CODEstatic intCONTEXT_FIELDstatic intCONTEXT_METHOD-
Fields inherited from class org.apache.commons.compress.harmony.pack200.BandSet
segmentHeader
-
-
Constructor Summary
Constructors Constructor Description AttributeDefinitionBands(Segment segment, int effort, org.objectweb.asm.Attribute[] attributePrototypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinaliseBands()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.java.util.ListgetClassAttributeLayouts()java.util.ListgetCodeAttributeLayouts()java.util.ListgetFieldAttributeLayouts()java.util.ListgetMethodAttributeLayouts()voidpack(java.io.OutputStream out)Write the packed set of bands to the given output stream-
Methods inherited from class org.apache.commons.compress.harmony.pack200.BandSet
cpEntryListToArray, cpEntryOrNullListToArray, encodeBandInt, encodeFlags, encodeFlags, encodeScalar, encodeScalar, integerListToArray, longListToArray
-
-
-
-
Field Detail
-
CONTEXT_CLASS
public static final int CONTEXT_CLASS
- See Also:
- Constant Field Values
-
CONTEXT_CODE
public static final int CONTEXT_CODE
- See Also:
- Constant Field Values
-
CONTEXT_FIELD
public static final int CONTEXT_FIELD
- See Also:
- Constant Field Values
-
CONTEXT_METHOD
public static final int CONTEXT_METHOD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AttributeDefinitionBands
public AttributeDefinitionBands(Segment segment, int effort, org.objectweb.asm.Attribute[] attributePrototypes)
-
-
Method Detail
-
finaliseBands
public void 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.
-
pack
public void pack(java.io.OutputStream out) throws java.io.IOException, Pack200Exception
Description copied from class:BandSetWrite the packed set of bands to the given output stream- Specified by:
packin classBandSet- Parameters:
out- TODO- Throws:
java.io.IOException- If an I/O error occurs.Pack200Exception- TODO
-
getClassAttributeLayouts
public java.util.List getClassAttributeLayouts()
-
getMethodAttributeLayouts
public java.util.List getMethodAttributeLayouts()
-
getFieldAttributeLayouts
public java.util.List getFieldAttributeLayouts()
-
getCodeAttributeLayouts
public java.util.List getCodeAttributeLayouts()
-
-