@Immutable public class OdfDriver extends JarDriver
mimetype, if present
at all, is always written as the very first entry using the method
STORED rather than DEFLATED in the resulting archive file
in order to meet the requirements of the ODF Specification.
Other than this, ODF files are treated like regular JAR files.
In particular, this class does not check an ODF file for the
existence 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 always get
written first in order to avoid temp file buffering of all other entries.
Subclasses must be thread-safe and should be immutable!
OdfOutputShopJAR_CHARSET| Constructor and Description |
|---|
OdfDriver(IOPoolProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
protected OutputShop<ZipDriverEntry> |
newOutputShop(FsModel model,
OutputStream out,
ZipInputShop source) |
check, decorate, getKeyManagerProvider, getKeyProviderSyncStrategy, getLevel, getMethod, getOutputSocket, getPool, getPostambled, getPreambled, getRedundantContentSupport, getRedundantMetaDataSupport, mountPointUri, newController, newEntry, newInputShop, newInputShop, newOutputShop, newOutputShop, process, resourceUri, zipCryptoParametersassertEncodable, getCharset, toString, toZipOrTarEntryNamegetInputSocket, isFederated, newController, newEntrygetPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOverheadSizegetCharsetpublic OdfDriver(IOPoolProvider provider)
protected OutputShop<ZipDriverEntry> newOutputShop(FsModel model, OutputStream out, ZipInputShop source) throws IOException
newOutputShop in class ZipDriverIOExceptionCopyright © 2005–2018 Schlichtherle IT Services. All rights reserved.