ZipFile patch (Was: eclipse status)

Mark Wielaard mark@klomp.org
Thu Jan 2 13:48:00 GMT 2003


Hi,

On Thu, 2003-01-02 at 14:42, Mark Wielaard wrote:
> 2003-02-01  Artur Biesiadowski  <abies00@wp.pl>
> 	    Mark Wielaard  <mark@klomp.org>
> 
> 	* 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 entires HashMap, wrap PartialInputStream in
> 	BufferedInputStream.
> 	(ZipEntryEnumeration): Use HashMap and Interator.

Patch now attached.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ZipFile.patch
Type: text/x-patch
Size: 11658 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030102/8ce1f8cb/attachment.bin>


More information about the Java-patches mailing list