public class ZipContentTypeManager extends ContentTypeManager
ContentTypeManagercontainer, CONTENT_TYPES_PART_NAME, TYPES_NAMESPACE_URI| Constructor and Description |
|---|
ZipContentTypeManager(java.io.InputStream in,
OPCPackage pkg)
Delegate constructor to the super constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
saveImpl(org.dom4j.Document content,
java.io.OutputStream out)
Specific implementation of the save method.
|
addContentType, clearAll, clearOverrideContentTypes, getContentType, isContentTypeRegister, removeContentType, savepublic ZipContentTypeManager(java.io.InputStream in,
OPCPackage pkg)
throws InvalidFormatException
in - The input stream to parse to fill internal content type
collections.InvalidFormatException - If the content types part content is not valid.public boolean saveImpl(org.dom4j.Document content,
java.io.OutputStream out)
ContentTypeManagersaveImpl in class ContentTypeManagerout - The output stream use to write the content type XML.Copyright 2014 The Apache Software Foundation or its licensors, as applicable.