net.ontopia.persistence.rdbms
Class DatabaseProjectReader
java.lang.Object
net.ontopia.persistence.rdbms.DatabaseProjectReader
public class DatabaseProjectReader
- extends Object
INTERNAL: Class that can read a database schema definition from an
XML representation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_ATTR_LIST
protected static final org.xml.sax.helpers.AttributeListImpl EMPTY_ATTR_LIST
loadProject
public static Project loadProject(String filename)
throws IOException,
SAXException
- INTERNAL: Reads the database schema definition from the specified file.
- Throws:
IOException
SAXException
loadProject
public static Project loadProject(InputStream istream)
throws IOException,
SAXException
- Throws:
IOException
SAXException
loadProject
public static Project loadProject(InputSource isource)
throws IOException,
SAXException
- Throws:
IOException
SAXException
saveProject
public static void saveProject(Project project,
String filename)
throws IOException,
SAXException
- Throws:
IOException
SAXException
saveProject
public static void saveProject(Project project,
String filename,
String encoding)
throws IOException,
SAXException
- Throws:
IOException
SAXException
saveProject
public static void saveProject(Project project,
DocumentHandler dh)
throws SAXException
- Throws:
SAXException
main
public static void main(String[] args)
throws IOException,
SAXException
- Throws:
IOException
SAXException
Copyright © 2000-2012 Ontopia.