|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.validate.ValidateLauncher
public class ValidateLauncher
Wrapper class for the Validate Tool. Class handles command-line parsing and querying, in addition to reporting setup.
Field Summary |
---|
Fields inherited from interface gov.nasa.pds.validate.commandline.options.Flags |
---|
ARGNAME, CONFIG, HELP, LOCAL, LONG, REGEXP, REPORT, SCHEMA, SHORT, TARGET, VERBOSE, VERSION, WHATIS_CONFIG, WHATIS_HELP, WHATIS_LOCAL, WHATIS_REGEXP, WHATIS_REPORT, WHATIS_SCHEMA, WHATIS_TARGET, WHATIS_VERBOSE, WHATIS_VERSION |
Fields inherited from interface gov.nasa.pds.validate.commandline.options.ConfigKeys |
---|
CATALOGKEY, LOCALKEY, REGEXPKEY, REPORTKEY, SCHEMAKEY, TARGETKEY, VERBOSEKEY |
Constructor Summary | |
---|---|
ValidateLauncher()
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)
Parse the command-line arguments |
void |
query(org.apache.commons.cli.CommandLine line)
|
void |
query(File configuration)
Query the configuration file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidateLauncher()
Method Detail |
---|
public org.apache.commons.cli.CommandLine parse(String[] args) throws org.apache.commons.cli.ParseException, InvalidOptionException
args
- The command-line arguments
org.apache.commons.cli.ParseException
InvalidOptionException
public void query(org.apache.commons.cli.CommandLine line) throws Exception
Exception
public void query(File configuration) throws org.apache.commons.configuration.ConfigurationException
configuration
- A configuration file.
org.apache.commons.configuration.ConfigurationException
public void displayHelp()
public void displayVersion() throws IOException
IOException
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |