org.exolab.castor.dsml
Class Importer
java.lang.Object
org.exolab.castor.dsml.Importer
- Direct Known Subclasses:
- JNDIImporter, MozillaImporter
public abstract class Importer
- extends Object
- Version:
- $Revision: 8145 $ $Date: 2006-04-10 16:39:24 -0600 (Mon, 10 Apr 2006) $
- Author:
- Assaf Arkin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Importer
public Importer()
setImportDescriptor
public void setImportDescriptor(ImportDescriptor importDesc)
getImportDescriptor
public ImportDescriptor getImportDescriptor()
setImportEventListener
public void setImportEventListener(ImportEventListener listener)
throws TooManyListenersException
- Throws:
TooManyListenersException
getImportEventListener
public ImportEventListener getImportEventListener()
importDocument
public void importDocument(InputStream stream)
throws ImportExportException
- Throws:
ImportExportException
importDocument
public void importDocument(Reader reader)
throws ImportExportException
- Throws:
ImportExportException
importDocument
public void importDocument(Parser parser,
InputSource input)
throws ImportExportException
- Throws:
ImportExportException
readImportDescriptor
public void readImportDescriptor(InputStream input)
throws IOException,
SAXException
- Throws:
IOException
SAXException
readImportDescriptor
public void readImportDescriptor(Reader input)
throws IOException,
SAXException
- Throws:
IOException
SAXException
readImportDescriptor
protected void readImportDescriptor(Parser parser,
InputSource input)
throws IOException,
SAXException
- Throws:
IOException
SAXException
notify
protected void notify(String name,
int flag)
createConsumer
protected abstract Consumer createConsumer()
importEntries
public abstract void importEntries(Enumeration<SearchResult> enumeration)
throws ImportExportException
- Throws:
ImportExportException
Copyright © 2010. All Rights Reserved.