|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.citool.CITool
public class CITool
Front end class for the Catalog Ingestion Tool.
Field Summary |
---|
Fields inherited from interface gov.nasa.pds.citool.options.CIToolFlags |
---|
ALIAS, ALLREFS, DBNAME, DBPASS, DBSERVER, DBUSER, INCLUDES, LOCAL, MODE, TARGET, VERBOSE, WHATIS_ALIAS, WHATIS_ALLREFS, WHATIS_DBNAME, WHATIS_DBPASS, WHATIS_DBSERVER, WHATIS_DBUSER, WHATIS_INCLUDES, WHATIS_LOCAL, WHATIS_MODE, WHATIS_TARGET, WHATIS_VERBOSE |
Fields inherited from interface gov.nasa.pds.tools.flags.ToolsFlags |
---|
ARGNAME, CONFIG, DICT, HELP, LONG, REPORT, SHORT, VERSION, WHATIS_CONFIG, WHATIS_DICT, WHATIS_HELP, WHATIS_REPORT, WHATIS_VERSION |
Constructor Summary | |
---|---|
CITool()
|
Method Summary | |
---|---|
void |
doComparison(Target source,
Target target)
Compare two targets. |
void |
doIngest(Target target)
Ingest catalog file(s). |
void |
doQuery(org.apache.commons.cli.CommandLine commandLine)
Query the CommandLine object to process the options that were selected. |
void |
doRI(java.util.List<gov.nasa.pds.tools.label.Label> catalogs,
java.net.URL allrefs)
|
java.util.List<gov.nasa.pds.tools.label.Label> |
doValidation(Target target,
gov.nasa.pds.tools.dict.Dictionary dictionary)
|
void |
findNewStandardValues(java.util.List<gov.nasa.pds.tools.label.Label> catalogs,
gov.nasa.pds.tools.dict.Dictionary dictionary)
Finds new standard values in the given set of label files. |
static void |
main(java.lang.String[] argv)
|
gov.nasa.pds.tools.dict.Dictionary |
parseDictionary(java.util.List<java.lang.String> dictionaries)
|
org.apache.commons.cli.CommandLine |
parseLine(java.lang.String[] argv)
Parses the CITool command-line. |
void |
showHelp()
Show the CITool usage. |
void |
showVersion()
Show the version and disclaimer notice. |
gov.nasa.pds.tools.label.Label |
validate(java.net.URL file,
gov.nasa.pds.tools.dict.Dictionary dictionary)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CITool()
Method Detail |
---|
public org.apache.commons.cli.CommandLine parseLine(java.lang.String[] argv) throws ApplicationException
argv
- arguments given on the command-line
ApplicationException
public void doQuery(org.apache.commons.cli.CommandLine commandLine) throws InvalidOptionException
commandLine
- The CommandLine object
InvalidOptionException
public void showVersion() throws java.io.IOException
java.io.IOException
public void showHelp()
public void doComparison(Target source, Target target) throws java.lang.Exception
source
- Object representation of the sourcetarget
- Object representation of the target
java.lang.Exception
public void doIngest(Target target) throws java.lang.Exception
target
- URL of the target (directory or file)
java.lang.Exception
public void doRI(java.util.List<gov.nasa.pds.tools.label.Label> catalogs, java.net.URL allrefs)
public void findNewStandardValues(java.util.List<gov.nasa.pds.tools.label.Label> catalogs, gov.nasa.pds.tools.dict.Dictionary dictionary)
catalogs
- A list of catalog files.dictionary
- A PDS data dictionarypublic gov.nasa.pds.tools.label.Label validate(java.net.URL file, gov.nasa.pds.tools.dict.Dictionary dictionary) throws java.lang.Exception
java.lang.Exception
public java.util.List<gov.nasa.pds.tools.label.Label> doValidation(Target target, gov.nasa.pds.tools.dict.Dictionary dictionary) throws java.lang.Exception
java.lang.Exception
public gov.nasa.pds.tools.dict.Dictionary parseDictionary(java.util.List<java.lang.String> dictionaries)
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |