public class RegistryLoader extends Object
Example usage:
RegistryLoader -bitstream bitstream-formats.xml
RegistryLoader -dc dc-types.xml
| Modifier and Type | Field and Description |
|---|---|
protected static BitstreamFormatService |
bitstreamFormatService |
| 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
|
protected static BitstreamFormatService bitstreamFormatService
public static void main(String[] argv) throws Exception
argv - command-line argumentsException - if errorpublic 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 loadSQLException - if database errorIOException - if IO errorTransformerException - if transformer errorParserConfigurationException - if config errorAuthorizeException - if authorization errorSAXException - if parser errorCopyright © 2016 DuraSpace. All rights reserved.