Correct. On Nov 27, 2009 1:10 PM, "Nathan Beyer" <ndbe...@apache.org> wrote:
On Fri, Nov 27, 2009 at 5:30 AM, Oliver Deakin <oliver.dea...@googlemail.com> wrote: > > > Tim Ellis... Isn't this still incorrect? The available() method isn't equivalent to what's left in the stream - it's just what's available before the read will start blocking. Don't you have to read from the stream until it hits EOF/EOS? If the use case requires that the entire stream must be read before moving on, then there's really no point in using available() at all. Correct? -Nathan -Nathan > Regards, > Oliver > > >> Index: src/main/java/java/util/zip/ZipFile.java >> =====================...