TrueUpdate Core 0.3

net.java.trueupdate.core.zip.io
Interface ZipInput

All Superinterfaces:
Closeable, Iterable<ZipEntry>
All Known Implementing Classes:
ZipFileAdapter

public interface ZipInput
extends Iterable<ZipEntry>, Closeable

The ZipFile interface as it should have been.

Author:
Christian Schlichtherle
See Also:
ZipOutput

Method Summary
 ZipEntry entry(String name)
          Looks up the ZIP entry with the given name.
 InputStream stream(ZipEntry entry)
          Returns an input stream for reading the ZIP entry contents.
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

entry

@Nullable
ZipEntry entry(String name)
Looks up the ZIP entry with the given name.


stream

InputStream stream(ZipEntry entry)
                   throws IOException
Returns an input stream for reading the ZIP entry contents.

Throws:
IOException

TrueUpdate Core 0.3

Copyright © 2013 Schlichtherle IT Services. All rights reserved.