Class NewAttributeBands.Union
java.lang.Object
org.apache.commons.compress.harmony.unpack200.NewAttributeBands.Union
- Enclosing class:
- NewAttributeBands
A Union is a type of layout element where the tag value acts as a selector for one of the union cases
-
Constructor Summary
ConstructorDescriptionUnion
(String tag, List<NewAttributeBands.UnionCase> unionCases, List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> body) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToAttribute
(int n, NewAttribute attribute) List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement>
protected int
getLength
(char uintType) void
readBands
(InputStream in, int count)
-
Constructor Details
-
Union
public Union(String tag, List<NewAttributeBands.UnionCase> unionCases, List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> body)
-
-
Method Details
-
addToAttribute
-
getDefaultCaseBody
public List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> getDefaultCaseBody() -
getUnionCases
-
getUnionTag
-
readBands
- Throws:
IOException
Pack200Exception
-
getLength
protected int getLength(char uintType)
-