Node Director
Public Member Functions | List of all members
sfi.director.util.ZipArchive Class Reference

store a number of files in one stream. More...

Inheritance diagram for sfi.director.util.ZipArchive:
sfi.director.util.Archive

Public Member Functions

 ZipArchive (OutputStream out)
 ZipArchive (InputStream in)
void close () throws DirectorException
void store (File file, String name) throws DirectorException
File extract (File directory, File target) throws DirectorException
void skip () throws DirectorException
DBObject lookAhead () throws DirectorException
- Public Member Functions inherited from sfi.director.util.Archive
 Archive (InputStream input)
 Archive (OutputStream output)
void storeAll (File directory) throws DirectorException
void storeAll (File directory, String name) throws DirectorException
void filter (ArchiveFilter filter)
ArchiveFilter filter ()
File extractAs (File file) throws DirectorException
File extract (File directory) throws DirectorException
String nextFileName () throws DirectorException
long nextLastModified () throws DirectorException
void extractAll (File directory) throws DirectorException

Additional Inherited Members

- Protected Member Functions inherited from sfi.director.util.Archive
void finalize ()
void getChunk (byte[] buffer, int size) throws DirectorException
- Protected Attributes inherited from sfi.director.util.Archive
InputStream input
OutputStream output
DecimalFormat lengthField = new DecimalFormat( "000000000" )
DBObject lookAheadObj = null
ArchiveFilter filter = null

Detailed Description

store a number of files in one stream.

Thought as a replacement for the (broken in GCC 3.2) java.util.zip where it is of no importance if the archive is compressed or readable by other applications.

Constructor & Destructor Documentation

sfi.director.util.ZipArchive.ZipArchive ( OutputStream  out)
sfi.director.util.ZipArchive.ZipArchive ( InputStream  in)

Member Function Documentation

void sfi.director.util.ZipArchive.close ( ) throws DirectorException
File sfi.director.util.ZipArchive.extract ( File  directory,
File  target 
) throws DirectorException
DBObject sfi.director.util.ZipArchive.lookAhead ( ) throws DirectorException
void sfi.director.util.ZipArchive.skip ( ) throws DirectorException
void sfi.director.util.ZipArchive.store ( File  file,
String  name 
) throws DirectorException

The documentation for this class was generated from the following file: