| java.lang.Object org.apache.harmony.pack200.BandSet org.apache.harmony.pack200.FileBands
FileBands | public class FileBands extends BandSet (Code) | | 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.
|
FileBands | public FileBands(Segment segment)(Code) | | Parameters: header - |
getFileBits | public byte[][] getFileBits()(Code) | | |
getFileModtime | public long[] getFileModtime()(Code) | | |
getFileOptions | public long[] getFileOptions()(Code) | | |
getFileSize | public long[] getFileSize()(Code) | | |
Methods inherited from org.apache.harmony.pack200.BandSet | protected void debug(String message)(Code)(Java Doc) public int[] decodeBandInt(String name, InputStream in, BHSDCodec defaultCodec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public int[][] decodeBandInt(String name, InputStream in, BHSDCodec defaultCodec, int[] counts) throws IOException, Pack200Exception(Code)(Java Doc) public long[] decodeBandLong(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public byte[] encodeBandLong(long[] data, BHSDCodec codec) throws IOException, Pack200Exception(Code)(Java Doc) public CPClass[] parseCPClassReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPNameAndType[] parseCPDescriptorReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPDouble[] parseCPDoubleReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPFieldRef[] parseCPFieldRefReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPFloat[] parseCPFloatReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPInteger[] parseCPIntReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPInterfaceMethodRef[] parseCPInterfaceMethodRefReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPLong[] parseCPLongReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPMethodRef[] parseCPMethodRefReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPUTF8[] parseCPSignatureReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPString[] parseCPStringReferences(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPUTF8[] parseCPUTF8References(String name, InputStream in, BHSDCodec codec, int count) throws IOException, Pack200Exception(Code)(Java Doc) public CPUTF8[][] parseCPUTF8References(String name, InputStream in, BHSDCodec codec, int[] counts) throws IOException, Pack200Exception(Code)(Java Doc) public long[] parseFlags(String name, InputStream in, int count, BHSDCodec codec, boolean hasHi) throws IOException, Pack200Exception(Code)(Java Doc) public long[][] parseFlags(String name, InputStream in, int counts, BHSDCodec codec, boolean hasHi) throws IOException, Pack200Exception(Code)(Java Doc) public long[] parseFlags(String name, InputStream in, int count, BHSDCodec hiCodec, BHSDCodec loCodec) throws IOException, Pack200Exception(Code)(Java Doc) public long[][] parseFlags(String name, InputStream in, int counts, BHSDCodec hiCodec, BHSDCodec loCodec) throws IOException, Pack200Exception(Code)(Java Doc) public String[] parseReferences(String name, InputStream in, BHSDCodec codec, int count, String[] reference) throws IOException, Pack200Exception(Code)(Java Doc) public String[][] parseReferences(String name, InputStream in, BHSDCodec codec, int counts, String[] reference) throws IOException, Pack200Exception(Code)(Java Doc) abstract public void unpack(InputStream inputStream) throws IOException, Pack200Exception(Code)(Java Doc)
|
|
|