Package kala.compress.harmony.unpack200
Class NewAttributeBands.Reference
- java.lang.Object
-
- kala.compress.harmony.unpack200.NewAttributeBands.LayoutElement
-
- kala.compress.harmony.unpack200.NewAttributeBands.Reference
-
- All Implemented Interfaces:
NewAttributeBands.AttributeLayoutElement
- Enclosing class:
- NewAttributeBands
public class NewAttributeBands.Reference extends NewAttributeBands.LayoutElement
Constant Pool Reference
-
-
Constructor Summary
Constructors Constructor Description Reference(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()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()
-
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.
-
-