org.LexGrid.LexBIG.admin
Class LoadOWL
java.lang.Object
org.LexGrid.LexBIG.admin.LoadOWL
public class LoadOWL
- extends java.lang.Object
Imports from an OWL-based XML file to the LexBIG repository.
Example: java org.LexGrid.LexBIG.admin.LoadOWL
-in,--input <uri> URI or path specifying location of the source file
-mf,--manifest <uri> URI or path specifying location of the manifest 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.LoadOWL -in "file:///path/to/somefile.owl" -a
-or-
org.LexGrid.LexBIG.admin.LoadOWL -in "file:///path/to/somefile.owl" -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 |
LoadOWL
public LoadOWL()
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