org.at4j.comp.lzma.prog
Class UnLzma

java.lang.Object
  extended by org.at4j.support.prog.AbstractProgram
      extended by org.at4j.comp.lzma.prog.UnLzma

public final class UnLzma
extends AbstractProgram

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.
 

Since:
1.0
Author:
Karl Gustafsson
See Also:
Lzma

Constructor Summary
UnLzma()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class org.at4j.support.prog.AbstractProgram
getArg, getParentLocation, isFlagArgument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnLzma

public UnLzma()
Method Detail

main

public static void main(String[] args)
                 throws InterruptedException
Throws:
InterruptedException