|
Node Director
|
Implements the 'archive' director command archiving/extracting files. More...
Public Member Functions | |
| String | usage () |
| returns usage string. | |
| String | help () |
| return a more verbose usage string (aka. | |
| String[] | getOptDefinitions () |
| return option definitions as used by Tools.getOpt() | |
| synchronized void | run (Hashtable optvals) throws DirectorException |
| run the command with the (pre-parsed) options optargs | |
| void | extract () throws DirectorException |
| void | list () throws DirectorException |
| Archive | getArchiver (InputStream in, OutputStream out) throws DirectorException |
Public Member Functions inherited from sfi.director.cli.CLICommand | |
| void | setOptions (Hashtable opts) |
| sets options from a hash as returned by Tools.getOpts(). | |
| Options | getOptions () |
| Hashtable | getOptionsHash () |
Implements the 'archive' director command archiving/extracting files.
| void sfi.director.cli.archive.extract | ( | ) | throws DirectorException |
| Archive sfi.director.cli.archive.getArchiver | ( | InputStream | in, |
| OutputStream | out | ||
| ) | throws DirectorException |
|
virtual |
return option definitions as used by Tools.getOpt()
Implements sfi.director.cli.CLICommand.
|
virtual |
| void sfi.director.cli.archive.list | ( | ) | throws DirectorException |
|
virtual |
run the command with the (pre-parsed) options optargs
Implements sfi.director.cli.CLICommand.
References sfi.director.util.Archive.close(), sfi.director.cli.archive.extract(), sfi.director.cli.archive.getArchiver(), sfi.director.util.Options.getOption(), sfi.director.cli.CLICommand.getOptions(), sfi.director.cli.archive.list(), and sfi.director.util.Archive.storeAll().
|
virtual |
returns usage string.
Implements sfi.director.cli.CLICommand.
1.8.1.2