de.schlichtherle.truezip.sample.file.app
Class Pickr
java.lang.Object
de.schlichtherle.truezip.sample.file.app.CommandLineUtility
de.schlichtherle.truezip.sample.file.app.Pickr
public class Pickr
- extends CommandLineUtility
Lets you pick a file using TFileChooser and print it's path.
Note that TFileChooser can browse archive files, too.
- Author:
- Christian Schlichtherle
|
Constructor Summary |
Pickr()
|
|
Method Summary |
static void |
main(String[] args)
Equivalent to System.exit(new Pickr().run(args));. |
int |
runChecked(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 |
Pickr
public Pickr()
main
public static void main(String[] args)
- Equivalent to
System.exit(new Pickr().run(args));.
runChecked
public int runChecked(String[] args)
throws CommandLineUtility.IllegalUsageException,
IOException
- Description copied from class:
CommandLineUtility
- Runs this command line utility.
Throws an exception if an error occurs.
- Specified by:
runChecked in class CommandLineUtility
- Parameters:
args - a non-null array of command line parameters.
- Returns:
- the return code for
System.exit(int).
- Throws:
CommandLineUtility.IllegalUsageException - If args does not contain
correct commands or parameters.
IOException - On any I/O related exception.
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.