|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.openxml4j.opc.internal.ContentTypeManager org.apache.poi.openxml4j.opc.internal.ZipContentTypeManager
public class ZipContentTypeManager
Zip implementation of the ContentTypeManager.
ContentTypeManager
Field Summary |
---|
Fields inherited from class org.apache.poi.openxml4j.opc.internal.ContentTypeManager |
---|
container, CONTENT_TYPES_PART_NAME, TYPES_NAMESPACE_URI |
Constructor Summary | |
---|---|
ZipContentTypeManager(java.io.InputStream in,
OPCPackage pkg)
Delegate constructor to the super constructor. |
Method Summary | |
---|---|
boolean |
saveImpl(org.w3c.dom.Document content,
java.io.OutputStream out)
Specific implementation of the save method. |
Methods inherited from class org.apache.poi.openxml4j.opc.internal.ContentTypeManager |
---|
addContentType, clearAll, clearOverrideContentTypes, getContentType, isContentTypeRegister, removeContentType, save |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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.Method Detail |
---|
public boolean saveImpl(org.w3c.dom.Document content, java.io.OutputStream out)
ContentTypeManager
saveImpl
in class ContentTypeManager
out
- The output stream use to write the content type XML.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |