gcc/libjava/java/util/zip
Artur Biesiadowski 1a82c94bde ZipFile.java (entries): Now HashMap.
* 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
2003-01-02 21:01:24 +00:00
..
Adler32.java
CheckedInputStream.java
CheckedOutputStream.java
Checksum.java
CRC32.java
DataFormatException.java
Deflater.java
DeflaterOutputStream.java
GZIPInputStream.java For PR libgcj/8593: 2002-11-16 00:41:32 +00:00
GZIPOutputStream.java
Inflater.java
InflaterInputStream.java
natDeflater.cc
natInflater.cc
ZipConstants.java
ZipEntry.java JarFile.java (manifest): Not final. 2002-12-03 22:06:31 +00:00
ZipException.java
ZipFile.java ZipFile.java (entries): Now HashMap. 2003-01-02 21:01:24 +00:00
ZipInputStream.java JarFile.java (manifest): Not final. 2002-12-03 22:06:31 +00:00
ZipOutputStream.java