Top Description Fields Constructors Methods
org.apache.commons.compress.harmony.unpack200

public Class FileBands

extends BandSet
Class Inheritance
Imports
java.io.IOException, .InputStream, org.apache.commons.compress.harmony.pack200.Codec, .Pack200Exception, org.apache.commons.compress.utils.IOUtils

Parses the file band headers (not including the actual bits themselves). At the end of this parse call, the input stream will be positioned at the start of the file_bits themselves, and there will be Sum(file_size) bits remaining in the stream with BYTE1 compression. A decent implementation will probably just stream the bytes out to the reconstituted Jar rather than caching them.

Field Summary

Modifier and TypeField and Description
private final String[]
private byte[][]
private int[]
private String[]
private int[]
private long[]
private InputStream
Inherited from org.apache.commons.compress.harmony.unpack200.BandSet:
headersegment

Constructor Summary

AccessConstructor and Description
public
FileBands(final Segment
TODO
segment
)

Method Summary

Modifier and TypeMethod and Description
public byte[][]
public int[]
public String[]
public int[]
public long[]
public void
public void
public void
Inherited from org.apache.commons.compress.harmony.unpack200.BandSet:
decodeBandIntdecodeBandIntgetReferencesgetReferencesparseCPClassReferencesparseCPDescriptorReferencesparseCPDoubleReferencesparseCPFieldRefReferencesparseCPFloatReferencesparseCPInterfaceMethodRefReferencesparseCPIntReferencesparseCPLongReferencesparseCPMethodRefReferencesparseCPSignatureReferencesparseCPSignatureReferencesparseCPStringReferencesparseCPUTF8ReferencesparseCPUTF8ReferencesparseFlagsparseFlagsparseFlagsparseFlagsparseReferencesparseReferencesunpack

Field Detail

cpUTF8back to summary
private final String[] cpUTF8
fileBitsback to summary
private byte[][] fileBits
fileModtimeback to summary
private int[] fileModtime
fileNameback to summary
private String[] fileName
fileOptionsback to summary
private int[] fileOptions
fileSizeback to summary
private long[] fileSize
inback to summary
private InputStream in

Constructor Detail

FileBandsback to summary
public FileBands(final Segment segment)
Parameters
segment:Segment

TODO

Method Detail

getFileBitsback to summary
public byte[][] getFileBits()
getFileModtimeback to summary
public int[] getFileModtime()
getFileNameback to summary
public String[] getFileName()
getFileOptionsback to summary
public int[] getFileOptions()
getFileSizeback to summary
public long[] getFileSize()
processFileBitsback to summary
public void processFileBits() throws IOException
readback to summary
public void read(final InputStream in) throws IOException, Pack200Exception

Implements abstract org.apache.commons.compress.harmony.unpack200.BandSet.read.

Annotations
@Override
unpackback to summary
public void unpack()

Implements abstract org.apache.commons.compress.harmony.unpack200.BandSet.unpack.

Annotations
@Override