Class NewAttributeBands.Integral
java.lang.Object
org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement
org.apache.commons.compress.harmony.unpack200.NewAttributeBands.Integral
- All Implemented Interfaces:
NewAttributeBands.AttributeLayoutElement
- Enclosing class:
- NewAttributeBands
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToAttribute(int n, NewAttribute attribute) Adds the band data for this element at the given index to the attribute.getTag()(package private) intgetValue(int index) voidreadBands(InputStream in, int count) Reads the bands associated with this part of the layout.Methods inherited from class org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement
getLength
-
Field Details
-
tag
-
band
private int[] band
-
-
Constructor Details
-
Integral
-
-
Method Details
-
addToAttribute
Description copied from interface:NewAttributeBands.AttributeLayoutElementAdds the band data for this element at the given index to the attribute.- Parameters:
n- Index position to add the attribute.attribute- The attribute to add.
-
getTag
-
getValue
int getValue(int index) -
readBands
Description copied from interface:NewAttributeBands.AttributeLayoutElementReads the bands associated with this part of the layout.- Parameters:
in- TODOcount- TODO- Throws:
Pack200Exception- Bad archive.IOException- If an I/O error occurs.
-