ojb.broker.metadata
Class RepositoryPersistor
java.lang.Object
|
+--ojb.broker.metadata.RepositoryPersistor
- public class RepositoryPersistor
- extends java.lang.Object
This class is responsible for reading and writing DescriptorRepository objects
from and to persistent media.
Currently only XML file based persistence is supported.
- Author:
- Thomas Mahler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryPersistor
public RepositoryPersistor()
writeToFile
public void writeToFile(java.lang.String filename)
readFromFile
public DescriptorRepository readFromFile(java.lang.String filename)
throws java.net.MalformedURLException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
java.net.MalformedURLException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04