public class RegistryLoader extends Object
Example usage:
RegistryLoader -bitstream bitstream-formats.xml
RegistryLoader -dc dc-types.xml
| Constructor and Description |
|---|
RegistryLoader() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadBitstreamFormats(Context context,
String filename)
Load Bitstream Format metadata
|
static void |
main(String[] argv)
For invoking via the command line
|
public static void main(String[] argv) throws Exception
argv - command-line argumentsExceptionpublic static void loadBitstreamFormats(Context context, String filename) throws SQLException, IOException, ParserConfigurationException, SAXException, TransformerException, AuthorizeException
context - DSpace context objectfilename - the filename of the XML file to loadSQLExceptionIOExceptionParserConfigurationExceptionSAXExceptionTransformerExceptionAuthorizeExceptionCopyright © 2014 DuraSpace. All Rights Reserved.