Class AttrDefinitionBands
- java.lang.Object
-
- org.apache.commons.compress.harmony.unpack200.BandSet
-
- org.apache.commons.compress.harmony.unpack200.AttrDefinitionBands
-
public class AttrDefinitionBands extends BandSet
Attribute definition bands are the set of bands used to define extra attributes transmitted in the archive.
-
-
Constructor Summary
Constructors Constructor Description AttrDefinitionBands(Segment segment)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeLayoutMapgetAttributeDefinitionMap()Gets the attribute layout map.voidread(java.io.InputStream in)Reads the input stream.voidunpack()Unpacks this instance.-
Methods inherited from class org.apache.commons.compress.harmony.unpack200.BandSet
decodeBandInt, decodeBandInt, getReferences, getReferences, parseCPClassReferences, parseCPDescriptorReferences, parseCPDoubleReferences, parseCPFieldRefReferences, parseCPFloatReferences, parseCPInterfaceMethodRefReferences, parseCPIntReferences, parseCPLongReferences, parseCPMethodRefReferences, parseCPSignatureReferences, parseCPSignatureReferences, parseCPStringReferences, parseCPUTF8References, parseCPUTF8References, parseFlags, parseFlags, parseFlags, parseFlags, parseReferences, parseReferences, unpack
-
-
-
-
Constructor Detail
-
AttrDefinitionBands
public AttrDefinitionBands(Segment segment)
Constructs a new instance.- Parameters:
segment- the segment.
-
-
Method Detail
-
getAttributeDefinitionMap
public AttributeLayoutMap getAttributeDefinitionMap()
Gets the attribute layout map.- Returns:
- the attribute layout map.
-
read
public void read(java.io.InputStream in) throws java.io.IOException, Pack200Exception
Description copied from class:BandSetReads the input stream.- Specified by:
readin classBandSet- Parameters:
in- the stream to read.- Throws:
java.io.IOException- if a problem occurs during reading from the underlying stream.Pack200Exception- if a problem occurs with an unexpected value or unsupported Codec.
-
unpack
public void unpack() throws Pack200Exception, java.io.IOException
Description copied from class:BandSetUnpacks this instance.- Specified by:
unpackin classBandSet- Throws:
Pack200Exception- if a problem occurs with an unexpected value or unsupported Codec.java.io.IOException- if a problem occurs during reading from the underlying stream.
-
-