org.nuxeo.ecm.core.io.impl.plugins
Class XMLDirectoryReader
java.lang.Object
org.nuxeo.ecm.core.io.impl.AbstractDocumentReader
org.nuxeo.ecm.core.io.impl.plugins.XMLDirectoryReader
- All Implemented Interfaces:
- DocumentReader
public class XMLDirectoryReader
- extends AbstractDocumentReader
- Author:
- bs@nuxeo.com
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDirectoryReader
public XMLDirectoryReader(java.lang.String sourcePath)
XMLDirectoryReader
public XMLDirectoryReader(java.io.File source)
getSource
public java.lang.Object getSource()
setSource
public void setSource(java.io.File source)
close
public void close()
- Description copied from interface:
DocumentReader
- Closes the reader.
read
public ExportedDocument read()
throws java.io.IOException
- Description copied from interface:
DocumentReader
- Reads a single document.
- Specified by:
read
in interface DocumentReader
- Specified by:
read
in class AbstractDocumentReader
- Returns:
- the document read or null if there are no more documents to read
- Throws:
java.io.IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.