Package kala.compress.harmony.unpack200
Class NewAttributeBands.Integral
- java.lang.Object
-
- kala.compress.harmony.unpack200.NewAttributeBands.LayoutElement
-
- kala.compress.harmony.unpack200.NewAttributeBands.Integral
-
- All Implemented Interfaces:
NewAttributeBands.AttributeLayoutElement
- Enclosing class:
- NewAttributeBands
public class NewAttributeBands.Integral extends NewAttributeBands.LayoutElement
-
-
Constructor Summary
Constructors Constructor Description Integral(java.lang.String tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToAttribute(int n, NewAttribute attribute)Adds the band data for this element at the given index to the attribute.java.lang.StringgetTag()(package private) intgetValue(int index)voidreadBands(java.io.InputStream in, int count)Read the bands associated with this part of the layout.-
Methods inherited from class kala.compress.harmony.unpack200.NewAttributeBands.LayoutElement
getLength
-
-
-
-
Method Detail
-
addToAttribute
public void addToAttribute(int n, NewAttribute attribute)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
public java.lang.String getTag()
-
getValue
int getValue(int index)
-
readBands
public void readBands(java.io.InputStream in, int count) throws java.io.IOException, Pack200ExceptionDescription copied from interface:NewAttributeBands.AttributeLayoutElementRead the bands associated with this part of the layout.- Parameters:
in- TODOcount- TODO- Throws:
Pack200Exception- Bad archive.java.io.IOException- If an I/O error occurs.
-
-