Class NewAttributeBands.Replication
java.lang.Object
org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement
org.apache.commons.compress.harmony.unpack200.NewAttributeBands.Replication
- All Implemented Interfaces:
NewAttributeBands.AttributeLayoutElement
- Enclosing class:
- NewAttributeBands
A replication is an array of layout elements, with an associated count
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NewAttributeBands.Integralprivate final List<NewAttributeBands.LayoutElement> -
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.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
-
countElement
-
layoutElements
-
-
Constructor Details
-
Replication
- Throws:
IOException
-
-
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.
-
getCountElement
-
getLayoutElements
-
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.
-