org.LexGrid.LexBIG.admin
Class LoadLgXML
java.lang.Object
org.LexGrid.LexBIG.admin.LoadLgXML
public class LoadLgXML
- extends java.lang.Object
Imports the source file, provided in LexGrid canonical format, to the LexBIG
repository.
Example: java org.LexGrid.LexBIG.admin.LoadLgXML
-in,--input <uri> URI or path specifying location of the source file
-v, --validate <int> Perform validation of the candidate
resource without loading data. If specified, the '-a' and '-t'
options are ignored. Supported levels of validation include:
0 = Verify document is well-formed
1 = Verify document is valid
-a, --activate ActivateScheme on successful load; if unspecified the
vocabulary is loaded but not activated
-t, --tag <id> An optional tag ID (e.g. 'PRODUCTION' or 'TEST') to assign.
Example: java -Xmx512m -cp lgRuntime.jar
org.LexGrid.LexBIG.admin.LoadLgXML -in "file:///path/to/file.xml" -a
-or-
org.LexGrid.LexBIG.admin.LoadLgXML -in "file:///path/to/file.xml" -v 0
- Author:
- Thomas Johnson
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
run(java.lang.String[] args)
Primary entry point for the program. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadLgXML
public LoadLgXML()
main
public static void main(java.lang.String[] args)
run
public void run(java.lang.String[] args)
throws java.lang.Exception
- Primary entry point for the program.
- Throws:
java.lang.Exception