Package org.apache.poi.ooxml.util
Class PackageHelper
java.lang.Object
org.apache.poi.ooxml.util.PackageHelper
Provides handy methods to work with OOXML packages
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OPCPackage
clone
(OPCPackage pkg, File file) Clone the specified package.static OPCPackage
open
(InputStream is)
-
Constructor Details
-
PackageHelper
public PackageHelper()
-
-
Method Details
-
open
- Throws:
IOException
-
clone
Clone the specified package.- Parameters:
pkg
- the package to clonefile
- the destination file- Returns:
- the cloned package
- Throws:
OpenXML4JException
IOException
-