Class FileBands
- java.lang.Object
-
- org.apache.commons.compress.harmony.unpack200.BandSet
-
- org.apache.commons.compress.harmony.unpack200.FileBands
-
public class FileBands extends BandSet
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[][]getFileBits()int[]getFileModtime()java.lang.String[]getFileName()int[]getFileOptions()long[]getFileSize()voidprocessFileBits()voidread(java.io.InputStream in)voidunpack()-
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
-
-
-
-
Method Detail
-
read
public void read(java.io.InputStream in) throws java.io.IOException, Pack200Exception
- Specified by:
readin classBandSet- Throws:
java.io.IOExceptionPack200Exception
-
processFileBits
public void processFileBits() throws java.io.IOException, Pack200Exception
- Throws:
java.io.IOExceptionPack200Exception
-
getFileBits
public byte[][] getFileBits()
-
getFileModtime
public int[] getFileModtime()
-
getFileName
public java.lang.String[] getFileName()
-
getFileOptions
public int[] getFileOptions()
-
getFileSize
public long[] getFileSize()
-
-