This runnable class emulates the
unlzma
command. It understands a
subset of
unlzma
's command line arguments.
The program decompresses one or several files. A file must have the file name
extension .lzma to be decompressed. When it is decompressed, the .lzma
extension is removed.
Usage:
java -cp [classpath] org.at4j.comp.lzma.prog.UnLzma [options] file[s]
Where:
classpath - Should include the at4j, lzma and entityfs-core Jars.
options - Command options. See below.
file[s] - The files to compress.
Options:
-c - Write the decompressed data to standard output and do not delete
the original files.
--suffix suf
-S suf - Use the suffix "suf" instead of ".gz" for the compressed files.
--timing - After building the archive, print out how long it took.