Class FileBands
java.lang.Object
org.apache.commons.compress.harmony.unpack200.BandSet
org.apache.commons.compress.harmony.unpack200.FileBands
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[][]
int[]
String[]
int[]
long[]
void
void
read
(InputStream in) void
unpack()
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 Details
-
FileBands
- Parameters:
segment
- TODO
-
-
Method Details
-
getFileBits
-
getFileModtime
-
getFileName
-
getFileOptions
-
getFileSize
-
processFileBits
- Throws:
IOException
-
read
- Specified by:
read
in classBandSet
- Throws:
IOException
Pack200Exception
-
unpack
-