| Constructor and Description |
|---|
UnzippedPartStore(java.io.File dir) |
| 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)
Does nothing
|
void |
setSourcePartStore(PartStore partStore)
Set this if its different to the target part store
(ie this object)
|
public UnzippedPartStore(java.io.File dir)
throws Docx4JException
Docx4JExceptionpublic void setSourcePartStore(PartStore partStore)
setSourcePartStore in interface PartStorepublic java.io.InputStream loadPart(java.lang.String partName)
throws Docx4JException
PartStoreloadPart in interface PartStoreDocx4JExceptionpublic long getPartSize(java.lang.String partName)
throws Docx4JException
PartStoregetPartSize in interface PartStoreDocx4JExceptionpublic void rename(PartName oldName, PartName newName)
PartStorepublic void setOutputStream(java.io.OutputStream os)
setOutputStream in interface PartStorepublic void saveContentTypes(ContentTypeManager ctm) throws Docx4JException
saveContentTypes in interface PartStoreDocx4JExceptionpublic void saveJaxbXmlPart(JaxbXmlPart part) throws Docx4JException
saveJaxbXmlPart in interface PartStoreDocx4JExceptionpublic void saveCustomXmlDataStoragePart(CustomXmlDataStoragePart part) throws Docx4JException
saveCustomXmlDataStoragePart in interface PartStoreDocx4JExceptionpublic void saveXmlPart(XmlPart part) throws Docx4JException
saveXmlPart in interface PartStoreDocx4JExceptionpublic void saveBinaryPart(Part part) throws Docx4JException
saveBinaryPart in interface PartStoreDocx4JExceptionpublic void finishSave()
throws Docx4JException
PartStorefinishSave in interface PartStoreDocx4JExceptionCopyright © 2007–2023. All rights reserved.