|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.util.archive.ArchiveIn
org.basex.query.util.archive.ZIPIn
public final class ZIPIn
ZIP input.
Constructor Summary | |
---|---|
ZIPIn(java.io.InputStream is)
Constructor. |
Method Summary | |
---|---|
void |
close()
Closes the stream. |
java.util.zip.ZipEntry |
entry()
Returns the current entry. |
java.lang.String |
format()
Returns the name of the archive format. |
boolean |
more()
Indicates if the archive contains more entries. |
int |
read(byte[] d)
Reads data from the archive. |
Methods inherited from class org.basex.query.util.archive.ArchiveIn |
---|
get, read |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZIPIn(java.io.InputStream is)
is
- input streamMethod Detail |
---|
public boolean more() throws java.io.IOException
ArchiveIn
more
in class ArchiveIn
java.io.IOException
- I/O exceptionpublic java.util.zip.ZipEntry entry()
ArchiveIn
entry
in class ArchiveIn
public int read(byte[] d) throws java.io.IOException
ArchiveIn
read
in class ArchiveIn
d
- data buffer
java.io.IOException
- I/O exceptionpublic java.lang.String format()
ArchiveIn
format
in class ArchiveIn
public void close()
ArchiveIn
close
in class ArchiveIn
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |