|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.administer.RegistryLoader
public class RegistryLoader
Loads the bitstream format and Dublin Core type registries into the database. Intended for use as a command-line tool.
Example usage:
RegistryLoader -bitstream bitstream-formats.xml
RegistryLoader -dc dc-types.xml
| Constructor Summary | |
|---|---|
RegistryLoader()
|
|
| Method Summary | |
|---|---|
static void |
loadBitstreamFormats(Context context,
String filename)
Load Bitstream Format metadata |
static void |
loadDublinCoreTypes(Context context,
String filename)
Load Dublin Core types |
static void |
main(String[] argv)
For invoking via the command line |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegistryLoader()
| Method Detail |
|---|
public static void main(String[] argv)
throws Exception
argv - command-line arguments
Exception
public 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 load
SQLException
IOException
ParserConfigurationException
SAXException
TransformerException
AuthorizeException
public static void loadDublinCoreTypes(Context context,
String filename)
throws SQLException,
IOException,
ParserConfigurationException,
SAXException,
TransformerException,
AuthorizeException,
NonUniqueMetadataException
context - DSpace context objectfilename - the filename of the XML file to load
NonUniqueMetadataException
SQLException
IOException
ParserConfigurationException
SAXException
TransformerException
AuthorizeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||