public class ZipContentTypeManager extends ContentTypeManager
ContentTypeManagercontainer, CONTENT_TYPES_PART_NAME, TYPES_NAMESPACE_URI| Constructor and Description |
|---|
ZipContentTypeManager(InputStream in,
OPCPackage pkg)
Delegate constructor to the super constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
saveImpl(Document content,
OutputStream out)
Specific implementation of the save method.
|
addContentType, clearAll, clearOverrideContentTypes, getContentType, isContentTypeRegister, removeContentType, savepublic ZipContentTypeManager(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(Document content, OutputStream out)
ContentTypeManagersaveImpl in class ContentTypeManagerout - The output stream use to write the content type XML.