Node Director
|
a fake archive, not actually storing files, but only their references. More...
Public Member Functions | |
InterceptArchive () | |
void | close () |
Vector | filelist () |
void | store (File file, String name) throws DirectorException |
File | extractAs (File file) throws DirectorException |
File | extract (File directory) throws DirectorException |
File | extract (File directory, File target) 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 () |
void | skip () throws DirectorException |
DBObject | lookAhead () throws DirectorException |
String | nextFileName () throws DirectorException |
long | nextLastModified () throws DirectorException |
void | extractAll (File directory) throws DirectorException |
Protected Member Functions | |
void | finalize () |
Protected Member Functions inherited from sfi.director.util.Archive | |
void | getChunk (byte[] buffer, int size) throws DirectorException |
Protected Attributes | |
Vector | filelist = new Vector() |
Protected Attributes inherited from sfi.director.util.Archive | |
InputStream | input |
OutputStream | output |
DecimalFormat | lengthField = new DecimalFormat( "000000000" ) |
DBObject | lookAheadObj = null |
ArchiveFilter | filter = null |
a fake archive, not actually storing files, but only their references.
This can be used to see what files would be stored in the archive.
sfi.director.util.InterceptArchive.InterceptArchive | ( | ) |
void sfi.director.util.InterceptArchive.close | ( | ) |
Reimplemented from sfi.director.util.Archive.
Referenced by sfi.director.util.InterceptArchive.finalize().
File sfi.director.util.InterceptArchive.extract | ( | File | directory | ) | throws DirectorException |
Reimplemented from sfi.director.util.Archive.
Referenced by sfi.director.util.InterceptArchive.extract().
File sfi.director.util.InterceptArchive.extract | ( | File | directory, |
File | target | ||
) | throws DirectorException |
Reimplemented from sfi.director.util.Archive.
References sfi.director.util.InterceptArchive.extract().
File sfi.director.util.InterceptArchive.extractAs | ( | File | file | ) | throws DirectorException |
Reimplemented from sfi.director.util.Archive.
Vector sfi.director.util.InterceptArchive.filelist | ( | ) |
Referenced by sfi.director.util.InterceptArchive.store().
|
protected |
Reimplemented from sfi.director.util.Archive.
References sfi.director.util.InterceptArchive.close().
void sfi.director.util.InterceptArchive.store | ( | File | file, |
String | name | ||
) | throws DirectorException |
Reimplemented from sfi.director.util.Archive.
References sfi.director.util.InterceptArchive.filelist().
|
protected |