public final class PackageHelper extends Object
| Constructor and Description |
|---|
PackageHelper() |
| Modifier and Type | Method and Description |
|---|---|
static OPCPackage |
clone(OPCPackage pkg,
File file)
Clone the specified package.
|
static OPCPackage |
open(InputStream is) |
public static OPCPackage open(InputStream is) throws IOException
IOExceptionpublic static OPCPackage clone(OPCPackage pkg, File file) throws OpenXML4JException, IOException
pkg - the package to clonefile - the destination fileOpenXML4JExceptionIOExceptionCopyright 2018 The Apache Software Foundation or its licensors, as applicable.