Class NuxeoArchiveReader

java.lang.Object
org.nuxeo.ecm.core.io.impl.AbstractDocumentReader
org.nuxeo.ecm.core.io.impl.plugins.NuxeoArchiveReader
All Implemented Interfaces:
DocumentReader

public class NuxeoArchiveReader extends AbstractDocumentReader
Reads nuxeo archives generated using NuxeoArchiveWriter.

If you need to read a CoreIO XML Archive that was not directly generated by NuxeoArchiveWriter or that was modified you need to use the NuxeoArchiveReader(File) constructor.

This implementation holds either a ZipInputStream, in which case it is assumed to have been generated by NuxeoArchiveWriter and has a special format (TODO DOCUMENT), or it holds a ZipFile that may be used in a random-access manner.