public class QuercusZipEntry
extends java.lang.Object
Constructor and Description |
---|
QuercusZipEntry(java.util.zip.ZipEntry zipEntry,
BinaryInput binaryInput,
long position) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
boolean |
zip_entry_close()
Closes the zip entry.
|
long |
zip_entry_compressedsize()
Returns the size of the compressed data.
|
java.lang.String |
zip_entry_compressionmethod()
Only "deflate" and "store" methods are supported.
|
long |
zip_entry_filesize()
Returns the file's uncompressed size.
|
java.lang.String |
zip_entry_name()
Returns the file name.
|
boolean |
zip_entry_open(Env env,
ZipDirectory directory)
Opens this zip entry for reading.
|
StringValue |
zip_entry_read(Env env,
int length)
Reads and decompresses entry's compressed data.
|
public QuercusZipEntry(java.util.zip.ZipEntry zipEntry, BinaryInput binaryInput, long position)
public java.lang.String zip_entry_name()
public long zip_entry_filesize()
public boolean zip_entry_open(Env env, ZipDirectory directory)
public boolean zip_entry_close() throws java.io.IOException
java.io.IOException
public StringValue zip_entry_read(Env env, int length)
public long zip_entry_compressedsize()
public java.lang.String zip_entry_compressionmethod()
public java.lang.String toString()
toString
in class java.lang.Object