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 File |
createTempFile()
Creates an empty file in the default temporary-file directory,
|
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
public static File createTempFile()
Copyright © 2020. All rights reserved.