diff options
author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-02 21:01:24 +0000 |
---|---|---|
committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-02 21:01:24 +0000 |
commit | 297cbfa8f53a27fa28b58ffd32f8bd51592e0327 (patch) | |
tree | 3561bff61d37cdf84f2ae6eadbbbfaac40e0503e /libjava/java/net/HttpURLConnection.java | |
parent | 2c6a88062db31c9172265acc9d30bf9cb5b5fcf4 (diff) | |
download | gcc-297cbfa8f53a27fa28b58ffd32f8bd51592e0327.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60803 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net/HttpURLConnection.java')
0 files changed, 0 insertions, 0 deletions