public class MetadataExporter
extends java.lang.Object
| Constructor and Description |
|---|
MetadataExporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
saveRegistry(java.lang.String file,
java.lang.String schema) |
static void |
saveSchema(Context context,
org.apache.xml.serialize.XMLSerializer xmlSerializer,
java.lang.String schema)
Serialize the schema registry.
|
static void |
usage()
Print the usage message to stdout
|
public static void main(java.lang.String[] args)
throws org.apache.commons.cli.ParseException,
java.sql.SQLException,
java.io.IOException,
org.xml.sax.SAXException,
RegistryExportException
args - org.apache.commons.cli.ParseExceptionorg.xml.sax.SAXExceptionjava.io.IOExceptionjava.sql.SQLExceptionRegistryExportExceptionpublic static void saveRegistry(java.lang.String file,
java.lang.String schema)
throws java.sql.SQLException,
java.io.IOException,
org.xml.sax.SAXException,
RegistryExportException
java.sql.SQLExceptionjava.io.IOExceptionorg.xml.sax.SAXExceptionRegistryExportExceptionpublic static void saveSchema(Context context, org.apache.xml.serialize.XMLSerializer xmlSerializer, java.lang.String schema) throws java.sql.SQLException, org.xml.sax.SAXException, RegistryExportException
context - xmlSerializer - schema - java.sql.SQLExceptionorg.xml.sax.SAXExceptionRegistryExportExceptionpublic static void usage()
Copyright © 2018 DuraSpace. All Rights Reserved.