adams.flow.transformer.Bzip2
Creates a bzip2 archive from a single file. Outputs the filename of the bzip2 file generated. Optionally, the original input file can be deleted.
Flow input/output:
- input: java.lang.String, java.io.File, byte[]
- output: java.lang.String, byte[]
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | Bzip2 |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
If set to true, then the original input file will be deleted after a successful compression.
command-line | -remove <boolean> |
default | false |
The bzip2 file to create; if pointing to a directory, then the output filename is based on the file that is being compressed and the '.bz2' extension added.
command-line | -output <adams.core.io.PlaceholderFile> |
default | ${CWD} |
The size of the buffer in bytes for the data stream.
command-line | -buffer <int> |
default | 1024 |
minimum | 1 |