Class encrypt

java.lang.Object
  extended by de.schlichtherle.Encrypt
      extended by encrypt

Deprecated. Use System.exit(new de.schlichtherle.Encrypt().run(args)); instead.

public class encrypt
extends Encrypt

Version:
TrueZIP 6.7
Author:
Christian Schlichtherle

Nested Class Summary
protected static class de.schlichtherle.CommandLineUtility.ProgressMonitor
           
 
Nested classes/interfaces inherited from class de.schlichtherle.Encrypt
Encrypt.IllegalUsageException
 
Field Summary
protected  PrintStream err
          The print stream for error output.
protected  PrintStream out
          The print stream for standard output.
protected  de.schlichtherle.CommandLineUtility.ProgressMonitor progressMonitor
          The command line progress monitor.
 
Constructor Summary
encrypt()
          Deprecated.  
 
Method Summary
static void main(String[] args)
          Deprecated. Equivalent to System.exit(new encrypt().run(args));.
 int run(String[] args)
          Runs this command line utility.
 
Methods inherited from class de.schlichtherle.Encrypt
runWithException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected final PrintStream out
The print stream for standard output.


err

protected final PrintStream err
The print stream for error output.


progressMonitor

protected final de.schlichtherle.CommandLineUtility.ProgressMonitor progressMonitor
The command line progress monitor.

Constructor Detail

encrypt

public encrypt()
Deprecated. 
Method Detail

main

public static void main(String[] args)
Deprecated. 
Equivalent to System.exit(new encrypt().run(args));.


run

public final int run(String[] args)
Runs this command line utility. Prints a user readable error message to the error output stream which was provided to the constructor if an error occurs.

Parameters:
args - A non-empty array of Unix-like commands and optional parameters.
Returns:
1 iff the command fails, 0 otherwise.