@Immutable public class OdfDriver extends JarDriver
mimetype, if present at
all, is always written as the first entry and uses the STORED method
rather than the DEFLATED method in the resulting archive file in
order to meet the requirements of section 17.4 of the
OpenDocument Specification,
version 1.1.
Other than this, ODF files are treated like regular JAR files.
In particular, this class does not check an ODF file for the
existance of the META-INF/manifest.xml entry or any other entry.
When using this driver to create or modify an ODF file, then in order to
achieve best performance, the mimetype entry should be created or
modified first in order to avoid temp file buffering of any other entries.
OdfOutputShopJAR_CHARSET| Constructor and Description |
|---|
OdfDriver(IOPoolProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
OutputShop<ZipArchiveEntry> |
newOutputShop(FsModel model,
OutputSocket<?> output,
InputShop<ZipArchiveEntry> source)
The implementation in
ZipDriver simply forwards the call to
ZipDriver.newZipOutputShop(de.schlichtherle.truezip.fs.FsModel, java.io.OutputStream, de.schlichtherle.truezip.fs.archive.zip.ZipInputShop) and wraps the result in a new
FsMultiplexedArchiveOutputShop. |
newEntry, newEntry, newEntrygetLevel, getMethod, getOutputSocket, getPool, getPostambled, getPreambled, newInputShop, newZipInputShop, newZipOutputShopassertEncodable, getCharset, toString, toZipOrTarEntryNamegetClosedIcon, getInputSocket, getOpenIcon, isFederated, newController, newEntry, newInputStream, newOutputStream, newReadOnlyFilegetPrioritypublic OdfDriver(IOPoolProvider provider)
public OutputShop<ZipArchiveEntry> newOutputShop(FsModel model, OutputSocket<?> output, InputShop<ZipArchiveEntry> source) throws IOException
ZipDriver
The implementation in ZipDriver simply forwards the call to
ZipDriver.newZipOutputShop(de.schlichtherle.truezip.fs.FsModel, java.io.OutputStream, de.schlichtherle.truezip.fs.archive.zip.ZipInputShop) and wraps the result in a new
FsMultiplexedArchiveOutputShop.
newOutputShop in class ZipDriverIOExceptionCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.