Class jls.util.zip.ZipFile

This class represents a zip file.
Defined in: ZipFile.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a zip file.
Method Summary
Method Attributes Method Name and Description
 
Closes the zip file.
 
Returns the zip entries.
 
getEntry(name)
Returns an entry depending on the specified name.
 
Returns a byte buffer containing the uncompressed entry content.
 
Returns the file name.
 
hasEntry(name)
Tells if this zip file contains a specified entry name.
 
size()
Returns the zip entry count.
Class Detail
jls.util.zip.ZipFile(file)
Creates a zip file.
Parameters:
{jls.io.File} file
The file .
Method Detail
close()
Closes the zip file.

{Array} entries()
Returns the zip entries.
Returns:
{Array} The zip entries.

{jls.util.zip.ZipEntry} getEntry(name)
Returns an entry depending on the specified name.
Parameters:
{String} name
The entry name.
Returns:
{jls.util.zip.ZipEntry} The zip entry or null.

{jls.lang.ByteBuffer} getEntryContent(name)
Returns a byte buffer containing the uncompressed entry content.
Parameters:
{String} name
The entry name.
Returns:
{jls.lang.ByteBuffer} The uncompressed entry content.

{String} getName()
Returns the file name.
Returns:
{String} The file name.

{Boolean} hasEntry(name)
Tells if this zip file contains a specified entry name.
Parameters:
{String} name
The entry name.
Returns:
{Boolean} true if this zip file contains a specified entry name.

{Number} size()
Returns the zip entry count.
Returns:
{Number} The zip entry count.

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Jan 17 2011 23:56:21 GMT+0100 (CET)