org.LexGrid.LexBIG.admin
Class LoadNCIHistory
java.lang.Object
org.LexGrid.LexBIG.admin.LoadNCIHistory
public class LoadNCIHistory
- extends java.lang.Object
Imports NCI History data to the LexBIG repository.
Example: java org.LexGrid.LexBIG.admin.LoadNCIHistory
-in,--input <uri> URI or path specifying location of the history file
-vf,--versionFile <uri> URI or path specifying location of the file
containing version identifiers for the history to be loaded
-v, --validate <int> Perform validation of the candidate
resource without loading data. If specified, the '-r' option
is ignored. Supported levels of validation include:
0 = Verify top 10 lines are correctly formatted
1 = Verify correct format for the entire file
-r, --replace If not specified, the provided history file will
be added into the current history database; otherwise the
current database will be replaced by the new content.
Example: java -Xmx512m -cp lgRuntime.jar
org.LexGrid.LexBIG.admin.LoadNCIHistory -in "file:///path/to/history.file" -vf "file:///path/to/version.file"
-or-
org.LexGrid.LexBIG.admin.LoadNCIHistory -in "file:///path/to/history.file" -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 |
LoadNCIHistory
public LoadNCIHistory()
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