public class ZipModule extends AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
Constructor and Description |
---|
ZipModule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getLoadedExtensions()
Returns the extensions loaded by the module.
|
boolean |
zip_close(ZipDirectory directory)
Closes the file.
|
boolean |
zip_entry_close(Env env,
QuercusZipEntry entry)
Closes this entry's stream.
|
long |
zip_entry_compressedsize(QuercusZipEntry entry)
Returns the size of the compressed data.
|
java.lang.String |
zip_entry_compressionmethod(QuercusZipEntry entry)
Returns the compression method used for this entry.
|
Value |
zip_entry_filesize(QuercusZipEntry entry)
Returns the file's uncompressed size.
|
Value |
zip_entry_name(Env env,
QuercusZipEntry entry)
Returns the file name.
|
boolean |
zip_entry_open(Env env,
ZipDirectory directory,
QuercusZipEntry entry,
java.lang.String mode)
Opens entry for decompression.
|
StringValue |
zip_entry_read(Env env,
QuercusZipEntry entry,
int length)
Reads and decompresses entry's compressed data.
|
ZipDirectory |
zip_open(Env env,
StringValue filename)
Opens stream to read zip entries.
|
QuercusZipEntry |
zip_read(Env env,
ZipDirectory directory)
Reads an entry's metadata from the zip stream.
|
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions
public java.lang.String[] getLoadedExtensions()
AbstractQuercusModule
getLoadedExtensions
in interface QuercusModule
getLoadedExtensions
in class AbstractQuercusModule
public ZipDirectory zip_open(Env env, StringValue filename)
public QuercusZipEntry zip_read(Env env, ZipDirectory directory)
public Value zip_entry_name(Env env, QuercusZipEntry entry)
public Value zip_entry_filesize(QuercusZipEntry entry)
public boolean zip_close(ZipDirectory directory)
public boolean zip_entry_open(Env env, ZipDirectory directory, QuercusZipEntry entry, java.lang.String mode)
public boolean zip_entry_close(Env env, QuercusZipEntry entry)
public StringValue zip_entry_read(Env env, QuercusZipEntry entry, int length)
public java.lang.String zip_entry_compressionmethod(QuercusZipEntry entry)
public long zip_entry_compressedsize(QuercusZipEntry entry)