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