Package kala.compress.harmony.unpack200
Class NewAttributeBands.UnionCase
java.lang.Object
kala.compress.harmony.unpack200.NewAttributeBands.LayoutElement
kala.compress.harmony.unpack200.NewAttributeBands.UnionCase
- All Implemented Interfaces:
NewAttributeBands.AttributeLayoutElement
- Enclosing class:
NewAttributeBands
A Union case
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToAttribute(int index, NewAttribute attribute) Adds the band data for this element at the given index to the attribute.getBody()booleanhasTag(int i) booleanhasTag(long l) voidreadBands(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
-
Field Details
-
body
-
tags
-
-
Constructor Details
-
UnionCase
-
UnionCase
-
-
Method Details
-
addToAttribute
Description copied from interface:NewAttributeBands.AttributeLayoutElementAdds the band data for this element at the given index to the attribute.- Parameters:
index- Index position to add the attribute.attribute- The attribute to add.
-
getBody
-
hasTag
public boolean hasTag(int i) -
hasTag
public boolean hasTag(long l) -
readBands
Description copied from interface:NewAttributeBands.AttributeLayoutElementRead the bands associated with this part of the layout.- Parameters:
in- TODOcount- TODO- Throws:
IOException- If an I/O error occurs.Pack200Exception- Bad archive.
-