Constructor and Description |
---|
UnzippedPartStore(File dir) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
finishSave()
Anything necessary to perfect the save operation.
|
long |
getPartSize(String partName)
The size of this part in bytes.
|
InputStream |
loadPart(String partName)
Returns null if the part does not exist.
|
void |
saveBinaryPart(Part part) |
void |
saveContentTypes(ContentTypeManager ctm) |
void |
saveCustomXmlDataStoragePart(CustomXmlDataStoragePart part) |
void |
saveJaxbXmlPart(JaxbXmlPart part) |
void |
saveXmlPart(XmlPart part) |
void |
setOutputStream(OutputStream os)
Does nothing
|
void |
setSourcePartStore(PartStore partStore)
Set this if its different to the target part store
(ie this object)
|
public UnzippedPartStore(File dir) throws Docx4JException
Docx4JException
public void setSourcePartStore(PartStore partStore)
setSourcePartStore
in interface PartStore
public InputStream loadPart(String partName) throws Docx4JException
PartStore
loadPart
in interface PartStore
Docx4JException
public long getPartSize(String partName) throws Docx4JException
PartStore
getPartSize
in interface PartStore
Docx4JException
public void setOutputStream(OutputStream os)
setOutputStream
in interface PartStore
public void saveContentTypes(ContentTypeManager ctm) throws Docx4JException
saveContentTypes
in interface PartStore
Docx4JException
public void saveJaxbXmlPart(JaxbXmlPart part) throws Docx4JException
saveJaxbXmlPart
in interface PartStore
Docx4JException
public void saveCustomXmlDataStoragePart(CustomXmlDataStoragePart part) throws Docx4JException
saveCustomXmlDataStoragePart
in interface PartStore
Docx4JException
public void saveXmlPart(XmlPart part) throws Docx4JException
saveXmlPart
in interface PartStore
Docx4JException
public void saveBinaryPart(Part part) throws Docx4JException
saveBinaryPart
in interface PartStore
Docx4JException
public void finishSave() throws Docx4JException
PartStore
finishSave
in interface PartStore
Docx4JException
Copyright © 2007-2013. All Rights Reserved.