|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.util.PackageHelper
public final class PackageHelper
Provides handy methods to work with OOXML packages
Constructor Summary | |
---|---|
PackageHelper()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageHelper()
Method Detail |
---|
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 file
OpenXML4JException
java.io.IOException
public static java.io.File createTempFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |