Class NewAttributeBands.UnionCase
java.lang.Object
org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement
org.apache.commons.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) 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
-
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.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.
-