public class MetadataImporter extends Object
| Constructor and Description |
|---|
MetadataImporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadRegistry(String file,
boolean forceUpdate)
Load the data from the specified file path into the database
|
static void |
main(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(String[] args) throws org.apache.commons.cli.ParseException, SQLException, IOException, TransformerException, ParserConfigurationException, AuthorizeException, SAXException, NonUniqueMetadataException, RegistryImportException
org.apache.commons.cli.ParseExceptionSQLExceptionIOExceptionTransformerExceptionParserConfigurationExceptionAuthorizeExceptionSAXExceptionNonUniqueMetadataExceptionRegistryImportExceptionpublic static void loadRegistry(String file, boolean forceUpdate) throws SQLException, IOException, TransformerException, ParserConfigurationException, AuthorizeException, SAXException, NonUniqueMetadataException, RegistryImportException
file - the file path containing the source dataSQLExceptionIOExceptionTransformerExceptionParserConfigurationExceptionAuthorizeExceptionSAXExceptionNonUniqueMetadataExceptionRegistryImportExceptionpublic static void usage()
Copyright © 2015 DuraSpace. All Rights Reserved.