* java/util/zip/ZipFile.java (entries): Now HashMap. (readLeShort(DataInput, byte[])): Read from given byte array. (readLeInt(DataInput, byte[]): Likewise. (readLeShort(byte[] b, int off)): New method. (readLeInt(byte[] b, int off)): Likewise. (readEntries): Use byte arrays to read info in bigger chunks. (getEntries): Return HashMap. (getEntry): Use HashMap. (locBuf): New private field. (checkLocalHeader): Use locBuf to read info in one chunk. (getInputStream): Use entries HashMap, wrap PartialInputStream in BufferedInputStream. (ZipEntryEnumeration): Use HashMap and Interator. Co-Authored-By: Mark Wielaard <mark@klomp.org> From-SVN: r60803
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Adler32.java | Loading commit data... | |
CRC32.java | Loading commit data... | |
CheckedInputStream.java | Loading commit data... | |
CheckedOutputStream.java | Loading commit data... | |
Checksum.java | Loading commit data... | |
DataFormatException.java | Loading commit data... | |
Deflater.java | Loading commit data... | |
DeflaterOutputStream.java | Loading commit data... | |
GZIPInputStream.java | Loading commit data... | |
GZIPOutputStream.java | Loading commit data... | |
Inflater.java | Loading commit data... | |
InflaterInputStream.java | Loading commit data... | |
ZipConstants.java | Loading commit data... | |
ZipEntry.java | Loading commit data... | |
ZipException.java | Loading commit data... | |
ZipFile.java | Loading commit data... | |
ZipInputStream.java | Loading commit data... | |
ZipOutputStream.java | Loading commit data... | |
natDeflater.cc | Loading commit data... | |
natInflater.cc | Loading commit data... |