org.nuxeo.ecm.core.io.impl.plugins
Class NuxeoArchiveWriter
java.lang.Object
org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter
org.nuxeo.ecm.core.io.impl.plugins.NuxeoArchiveWriter
- All Implemented Interfaces:
- DocumentWriter
public class NuxeoArchiveWriter
- extends AbstractDocumentWriter
- Author:
- Bogdan Stefanescu
NuxeoArchiveWriter
public NuxeoArchiveWriter(File destination)
throws IOException
- Throws:
IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(File destination,
int compressionLevel)
throws IOException
- Throws:
IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(OutputStream out)
throws IOException
- Throws:
IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(OutputStream out,
int compressionLevel)
throws IOException
- Throws:
IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(ZipOutputStream out)
throws IOException
- Throws:
IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(ZipOutputStream out,
int compressionLevel)
throws IOException
- Throws:
IOException
setComment
public void setComment(String comment)
write
public DocumentTranslationMap write(ExportedDocument doc)
throws IOException
- Description copied from interface:
DocumentWriter
- Writes a single document.
- Specified by:
write
in interface DocumentWriter
- Specified by:
write
in class AbstractDocumentWriter
- Parameters:
doc
- the document to write
- Returns:
- the translation map.
- Throws:
IOException
close
public void close()
- Description copied from interface:
DocumentWriter
- Closes the writer.
Copyright © 2011 Nuxeo SAS. All Rights Reserved.