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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NuxeoArchiveWriter
public NuxeoArchiveWriter(java.io.File destination)
throws java.io.IOException
- Throws:
java.io.IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(java.io.File destination,
int compressionLevel)
throws java.io.IOException
- Throws:
java.io.IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(java.io.OutputStream out,
int compressionLevel)
throws java.io.IOException
- Throws:
java.io.IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(java.util.zip.ZipOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
NuxeoArchiveWriter
public NuxeoArchiveWriter(java.util.zip.ZipOutputStream out,
int compressionLevel)
throws java.io.IOException
- Throws:
java.io.IOException
setComment
public void setComment(java.lang.String comment)
write
public DocumentTranslationMap write(ExportedDocument doc)
throws java.io.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:
java.io.IOException
close
public void close()
- Description copied from interface:
DocumentWriter
- Closes the writer.
Copyright © 2010 Nuxeo SAS. All Rights Reserved.