public class MetadataImporter
extends java.lang.Object
| Constructor and Description |
|---|
MetadataImporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadRegistry(java.lang.String file,
boolean forceUpdate)
Load the data from the specified file path into the database
|
static void |
main(java.lang.String[] args)
main method for reading user input from the command line
|
static void |
usage()
Print the usage message to stdout
|
public static void main(java.lang.String[] args)
throws org.apache.commons.cli.ParseException,
java.sql.SQLException,
java.io.IOException,
javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException,
AuthorizeException,
org.xml.sax.SAXException,
NonUniqueMetadataException,
RegistryImportException
org.apache.commons.cli.ParseExceptionjava.sql.SQLExceptionjava.io.IOExceptionjavax.xml.transform.TransformerExceptionjavax.xml.parsers.ParserConfigurationExceptionAuthorizeExceptionorg.xml.sax.SAXExceptionNonUniqueMetadataExceptionRegistryImportExceptionpublic static void loadRegistry(java.lang.String file,
boolean forceUpdate)
throws java.sql.SQLException,
java.io.IOException,
javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException,
AuthorizeException,
org.xml.sax.SAXException,
NonUniqueMetadataException,
RegistryImportException
file - the file path containing the source datajava.sql.SQLExceptionjava.io.IOExceptionjavax.xml.transform.TransformerExceptionjavax.xml.parsers.ParserConfigurationExceptionAuthorizeExceptionorg.xml.sax.SAXExceptionNonUniqueMetadataExceptionRegistryImportExceptionpublic static void usage()
Copyright © 2013 DuraSpace. All Rights Reserved.