public interface PartStore
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
finishSave()
Anything necessary to perfect the save operation.
|
long |
getPartSize(java.lang.String partName)
The size of this part in bytes.
|
java.io.InputStream |
loadPart(java.lang.String partName)
Returns null if the part does not exist.
|
void |
rename(PartName oldName,
PartName newName)
Rename a part in the part store.
|
void |
saveBinaryPart(Part part) |
void |
saveContentTypes(ContentTypeManager ctm) |
void |
saveCustomXmlDataStoragePart(CustomXmlDataStoragePart part) |
void |
saveJaxbXmlPart(JaxbXmlPart part) |
void |
saveXmlPart(XmlPart part) |
void |
setOutputStream(java.io.OutputStream os) |
void |
setSourcePartStore(PartStore partStore)
Use in a save operation if the source part store (ie part store
from which pkg loaded) is different to this target part store.
|
java.io.InputStream loadPart(java.lang.String partName)
throws Docx4JException
partName - Docx4JExceptionvoid rename(PartName oldName, PartName newName)
oldName - newName - long getPartSize(java.lang.String partName)
throws Docx4JException,
java.lang.UnsupportedOperationException
partName - Docx4JExceptionjava.lang.UnsupportedOperationExceptionvoid setOutputStream(java.io.OutputStream os)
throws Docx4JException
Docx4JExceptionvoid saveContentTypes(ContentTypeManager ctm) throws Docx4JException
Docx4JExceptionvoid saveJaxbXmlPart(JaxbXmlPart part) throws Docx4JException
Docx4JExceptionvoid saveCustomXmlDataStoragePart(CustomXmlDataStoragePart part) throws Docx4JException
Docx4JExceptionvoid saveXmlPart(XmlPart part) throws Docx4JException
Docx4JExceptionvoid saveBinaryPart(Part part) throws Docx4JException
Docx4JExceptionvoid finishSave()
throws Docx4JException
Docx4JExceptionvoid setSourcePartStore(PartStore partStore)
void dispose()
Copyright © 2007–2023. All rights reserved.