public class MetadataExporter extends Object
| Constructor and Description |
|---|
MetadataExporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
saveRegistry(String file,
String schema) |
static void |
saveSchema(Context context,
org.apache.xml.serialize.XMLSerializer xmlSerializer,
String schema)
Serialize the schema registry.
|
static void |
usage()
Print the usage message to stdout
|
public static void main(String[] args) throws org.apache.commons.cli.ParseException, SQLException, IOException, SAXException, RegistryExportException
args - org.apache.commons.cli.ParseExceptionSAXExceptionIOExceptionSQLExceptionRegistryExportExceptionpublic static void saveRegistry(String file, String schema) throws SQLException, IOException, SAXException, RegistryExportException
public static void saveSchema(Context context, org.apache.xml.serialize.XMLSerializer xmlSerializer, String schema) throws SQLException, SAXException, RegistryExportException
context - xmlSerializer - schema - SQLExceptionSAXExceptionRegistryExportExceptionpublic static void usage()
Copyright © 2013 DuraSpace. All Rights Reserved.