Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.io.impl.plugins
Class DocumentModelReader

java.lang.Object
  extended by org.nuxeo.ecm.core.io.impl.AbstractDocumentReader
      extended by org.nuxeo.ecm.core.io.impl.plugins.DocumentModelReader
All Implemented Interfaces:
DocumentReader
Direct Known Subclasses:
DocumentChildrenReader, DocumentsListReader, DocumentTreeReader, SingleDocumentReader, SingleDocumentReaderWithInLineBlobs

public abstract class DocumentModelReader
extends AbstractDocumentReader

Author:
Bogdan Stefanescu

Method Summary
 void close()
          Closes the reader.
 boolean getInlineBlobs()
           
abstract  ExportedDocument read()
          Reads a single document.
 void setInlineBlobs(boolean inlineBlobs)
           
 
Methods inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentReader
read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public abstract ExportedDocument read()
                               throws 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:
IOException

close

public void close()
Description copied from interface: DocumentReader
Closes the reader.


setInlineBlobs

public void setInlineBlobs(boolean inlineBlobs)
Parameters:
inlineBlobs - the inlineBlobs to set.

getInlineBlobs

public boolean getInlineBlobs()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.