Package org.docx4j.openpackaging.io
Class SaveToZipFile
java.lang.Object
org.docx4j.openpackaging.io.SaveToZipFile
@Deprecated
public class SaveToZipFile
extends java.lang.Object
Deprecated.
Save a Package object to a Zip file or output stream
Use org.docx4j.openpackaging.io3.Save instead, also
available via Docx4J facade (since 3.0.2).
- Author:
- jharrop
-
Field Summary
Fields Modifier and Type Field Description OpcPackagepDeprecated. -
Constructor Summary
Constructors Constructor Description SaveToZipFile(OpcPackage p)Deprecated. -
Method Summary
Modifier and Type Method Description voidaddPartsFromRelationships(java.util.zip.ZipOutputStream out, RelationshipsPart rp)Deprecated.booleansave(java.io.File docxFile)Deprecated.booleansave(java.io.OutputStream realOS)Deprecated.booleansave(java.lang.String filepath)Deprecated.booleansaveFlatOPC(java.io.OutputStream realOS)Deprecated.voidsavePart(java.util.zip.ZipOutputStream out, Part part)Deprecated.protected voidsaveRawBinaryPart(java.util.zip.ZipOutputStream out, Part part)Deprecated.voidsaveRawXmlPart(java.util.zip.ZipOutputStream out, Part part)Deprecated.voidsaveRawXmlPart(java.util.zip.ZipOutputStream out, Part part, java.lang.String zipEntryName)Deprecated.
-
Field Details
-
p
Deprecated.
-
-
Constructor Details
-
SaveToZipFile
Deprecated.
-
-
Method Details
-
save
Deprecated.- Throws:
Docx4JException
-
save
Deprecated.- Throws:
Docx4JException
-
saveFlatOPC
Deprecated.- Throws:
Docx4JException
-
save
Deprecated.- Throws:
Docx4JException
-
saveRawXmlPart
Deprecated.- Throws:
Docx4JException
-
saveRawXmlPart
public void saveRawXmlPart(java.util.zip.ZipOutputStream out, Part part, java.lang.String zipEntryName) throws Docx4JExceptionDeprecated.- Throws:
Docx4JException
-
addPartsFromRelationships
public void addPartsFromRelationships(java.util.zip.ZipOutputStream out, RelationshipsPart rp) throws Docx4JExceptionDeprecated.- Throws:
Docx4JException
-
savePart
public void savePart(java.util.zip.ZipOutputStream out, Part part) throws Docx4JException, java.io.IOExceptionDeprecated.- Parameters:
out-resolvedPartUri-part-- Throws:
Docx4JExceptionjava.io.IOException
-
saveRawBinaryPart
protected void saveRawBinaryPart(java.util.zip.ZipOutputStream out, Part part) throws Docx4JExceptionDeprecated.- Throws:
Docx4JException
-