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 java.io.File |
createTempFile()
Creates an empty file in the default temporary-file directory,
|
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
public static java.io.File createTempFile()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.