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 Add license clarification. 2002-01-22 22:40:42 +00:00
CheckedInputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
CheckedOutputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
Checksum.java Add license clarification. 2002-01-22 22:40:42 +00:00
CRC32.java Add license clarification. 2002-01-22 22:40:42 +00:00
DataFormatException.java RuntimeException.java: Re-merge with Classpath. 2002-06-16 21:15:44 +00:00
Deflater.java Add license clarification. 2002-01-22 22:40:42 +00:00
DeflaterOutputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
GZIPInputStream.java For PR libgcj/8593: 2002-11-16 00:41:32 +00:00
GZIPOutputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
Inflater.java Add license clarification. 2002-01-22 22:40:42 +00:00
InflaterInputStream.java InflaterInputStream.java (read): Loop if data has been read but none output by inflater. 2002-06-15 18:31:13 +00:00
natDeflater.cc re PR libgcj/8234 (ZipInputStream chokes when InputStream.read() returns small chunks) 2002-10-16 14:58:15 +00:00
natInflater.cc re PR libgcj/8234 (ZipInputStream chokes when InputStream.read() returns small chunks) 2002-10-16 14:58:15 +00:00
ZipConstants.java InflaterInputStream.java (read): Loop if data has been read but none output by inflater. 2002-06-15 18:31:13 +00:00
ZipEntry.java JarFile.java (manifest): Not final. 2002-12-03 22:06:31 +00:00
ZipException.java RuntimeException.java: Re-merge with Classpath. 2002-06-16 21:15:44 +00:00
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 GNU Classpath merge. 2002-11-03 20:27:31 +00:00