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 OpcPackage
p
Deprecated. -
Constructor Summary
Constructors Constructor Description SaveToZipFile(OpcPackage p)
Deprecated. -
Method Summary
Modifier and Type Method Description void
addPartsFromRelationships(java.util.zip.ZipOutputStream out, RelationshipsPart rp)
Deprecated.boolean
save(java.io.File docxFile)
Deprecated.boolean
save(java.io.OutputStream realOS)
Deprecated.boolean
save(java.lang.String filepath)
Deprecated.boolean
saveFlatOPC(java.io.OutputStream realOS)
Deprecated.void
savePart(java.util.zip.ZipOutputStream out, Part part)
Deprecated.protected void
saveRawBinaryPart(java.util.zip.ZipOutputStream out, Part part)
Deprecated.void
saveRawXmlPart(java.util.zip.ZipOutputStream out, Part part)
Deprecated.void
saveRawXmlPart(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:
Docx4JException
java.io.IOException
-
saveRawBinaryPart
protected void saveRawBinaryPart(java.util.zip.ZipOutputStream out, Part part) throws Docx4JExceptionDeprecated.- Throws:
Docx4JException
-