@Immutable @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) 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 all other entries.
OdfOutputShopJAR_CHARSET| Constructor and Description |
|---|
OdfDriver(IOPoolProvider ioPoolProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected OutputShop<ZipArchiveEntry> |
newOutputShop(FsModel model,
OutputStream out,
ZipInputShop source) |
check, getKeyManagerProvider, getKeyProviderSyncStrategy, getLevel, getMethod, getOutputSocket, getPool, getPostambled, getPreambled, getRedundantContentSupport, getRedundantMetaDataSupport, mountPointUri, newController, newEntry, newInputShop, newInputShop, newOutputShop, newOutputShop, process, process, process, resourceUri, superNewController, zipCryptoParameters, zipCryptoParameters, zipCryptoParametersassertEncodable, getCharset, toString, toZipOrTarEntryNamegetClosedIcon, getInputSocket, getOpenIcon, isFederated, newEntry, newInputStream, newOutputStream, newReadOnlyFilegetPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOverheadSizegetCharsetpublic OdfDriver(IOPoolProvider ioPoolProvider)
protected OutputShop<ZipArchiveEntry> newOutputShop(FsModel model, OutputStream out, @CheckForNull ZipInputShop source) throws IOException
newOutputShop in class ZipDriverIOExceptionCopyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.