mirror of git://gcc.gnu.org/git/gcc.git
* 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 |
||
|---|---|---|
| .. | ||
| Adler32.java | ||
| CRC32.java | ||
| CheckedInputStream.java | ||
| CheckedOutputStream.java | ||
| Checksum.java | ||
| DataFormatException.java | ||
| Deflater.java | ||
| DeflaterOutputStream.java | ||
| GZIPInputStream.java | ||
| GZIPOutputStream.java | ||
| Inflater.java | ||
| InflaterInputStream.java | ||
| ZipConstants.java | ||
| ZipEntry.java | ||
| ZipException.java | ||
| ZipFile.java | ||
| ZipInputStream.java | ||
| ZipOutputStream.java | ||
| natDeflater.cc | ||
| natInflater.cc | ||