Package org.apache.poi.openxml4j.opc
Class ZipPackage
- java.lang.Object
-
- org.apache.poi.openxml4j.opc.OPCPackage
-
- org.apache.poi.openxml4j.opc.ZipPackage
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,RelationshipSource
public final class ZipPackage extends OPCPackage
Physical zip package.
-
-
Constructor Summary
Constructors Constructor Description ZipPackage()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZipEntrySource
getZipArchive()
Get the zip archivevoid
saveImpl(java.io.OutputStream outputStream)
Save this package into the specified stream-
Methods inherited from class org.apache.poi.openxml4j.opc.OPCPackage
addExternalRelationship, addExternalRelationship, addMarshaller, addRelationship, addRelationship, addThumbnail, addThumbnail, addUnmarshaller, clearRelationships, close, containPart, create, create, create, createPart, createPart, deletePart, deletePartRecursive, ensureRelationships, flush, getPackageAccess, getPackageProperties, getPart, getPart, getParts, getPartsByContentType, getPartsByName, getPartsByRelationshipType, getRelationship, getRelationships, getRelationshipsByType, getUnusedPartIndex, hasRelationships, isRelationshipExists, open, open, open, open, open, open, openOrCreate, registerPartAndContentType, removeMarshaller, removePart, removePart, removePartRecursive, removeRelationship, removeUnmarshaller, replaceContentType, revert, save, save, unregisterPartAndContentType, validatePackage
-
-
-
-
Method Detail
-
saveImpl
public void saveImpl(java.io.OutputStream outputStream)
Save this package into the specified stream- Parameters:
outputStream
- The stream use to save this package.- See Also:
OPCPackage.save(OutputStream)
-
getZipArchive
public ZipEntrySource getZipArchive()
Get the zip archive- Returns:
- The zip archive.
-
-