Class nzip
java.lang.Object
de.schlichtherle.NZip
nzip
Deprecated. Use System.exit(new de.schlichtherle.NZip().run(args));
instead.
public class nzip
- extends NZip
- Version:
- TrueZIP 6.7
- Author:
- Christian Schlichtherle
Nested Class Summary |
protected static class |
de.schlichtherle.CommandLineUtility.ProgressMonitor
|
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 |
nzip()
Deprecated. |
Method Summary |
static void |
main(String[] args)
Deprecated. Equivalent to System.exit(new nzip().run(args)); . |
int |
run(String[] args)
Runs this command line utility. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
nzip
public nzip()
- Deprecated.
main
public static void main(String[] args)
- Deprecated.
- Equivalent to
System.exit(new nzip().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.