Package kala.compress.harmony.unpack200
Class NewAttributeBands.Replication
java.lang.Object
kala.compress.harmony.unpack200.NewAttributeBands.LayoutElement
kala.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) Read the bands associated with this part of the layout.Methods inherited from class kala.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.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.
-