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
IOException
public static OPCPackage clone(OPCPackage pkg, File file) throws OpenXML4JException, IOException
pkg
- the package to clonefile
- the destination fileOpenXML4JException
IOException
Copyright 2019 The Apache Software Foundation or its licensors, as applicable.