|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.transform.TransformLauncher
public class TransformLauncher
Front end class of the Transform Tool that handles the command-line processing.
Constructor Summary | |
---|---|
TransformLauncher()
Constructor. |
Method Summary | |
---|---|
void |
displayHelp()
Displays tool usage. |
void |
displayVersion()
Displays the current version and disclaimer notice. |
static void |
main(String[] args)
|
org.apache.commons.cli.CommandLine |
parse(String[] args)
A method to parse the command-line arguments. |
void |
query(org.apache.commons.cli.CommandLine line)
Examines the command-line arguments passed into the Harvest Tool and takes the appropriate action based on what flags were set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformLauncher()
Method Detail |
---|
public final org.apache.commons.cli.CommandLine parse(String[] args) throws org.apache.commons.cli.ParseException
args
- The command-line arguments
org.apache.commons.cli.ParseException
- If there was an error during parsing.public final void query(org.apache.commons.cli.CommandLine line) throws InvalidOptionException, IOException
line
- A class representation of the command-line arguments.
Exception
- If there was an error while querying the options
that were set on the command-line.
InvalidOptionException
IOException
public final void displayHelp()
public final void displayVersion()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |