|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.util.archive.ArchiveIn
public abstract class ArchiveIn
Archive reader.
Constructor Summary | |
---|---|
ArchiveIn()
|
Method Summary | |
---|---|
abstract void |
close()
Closes the stream. |
abstract java.util.zip.ZipEntry |
entry()
Returns the current entry. |
abstract java.lang.String |
format()
Returns the name of the archive format. |
static ArchiveIn |
get(BufferInput bi,
InputInfo info)
Returns a new instance of an archive reader. |
abstract boolean |
more()
Indicates if the archive contains more entries. |
byte[] |
read()
Reads the next entry. |
abstract int |
read(byte[] d)
Reads data from the archive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArchiveIn()
Method Detail |
---|
public static ArchiveIn get(BufferInput bi, InputInfo info) throws QueryException
bi
- buffer inputinfo
- input info
QueryException
- query exceptionpublic abstract boolean more() throws java.io.IOException
java.io.IOException
- I/O exceptionpublic abstract java.util.zip.ZipEntry entry()
public abstract java.lang.String format()
public abstract int read(byte[] d) throws java.io.IOException
d
- data buffer
java.io.IOException
- I/O exceptionpublic byte[] read() throws java.io.IOException
java.io.IOException
- I/O exceptionpublic abstract void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |