|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.util.PackageHelper
public class PackageHelper
Provides handy methods to work with OOXML packages
Constructor Summary | |
---|---|
PackageHelper()
|
Method Summary | |
---|---|
static org.openxml4j.opc.Package |
clone(org.openxml4j.opc.Package pkg)
Clone the specified package. |
static org.openxml4j.opc.Package |
clone(org.openxml4j.opc.Package pkg,
java.io.File file)
Clone the specified package. |
static java.io.File |
createTempFile()
Creates an empty file in the default temporary-file directory, |
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 org.openxml4j.opc.Package clone(org.openxml4j.opc.Package pkg) throws org.openxml4j.exceptions.OpenXML4JException, java.io.IOException
pkg
- the package to clone
org.openxml4j.exceptions.OpenXML4JException
java.io.IOException
public static org.openxml4j.opc.Package clone(org.openxml4j.opc.Package pkg, java.io.File file) throws org.openxml4j.exceptions.OpenXML4JException, java.io.IOException
pkg
- the package to clonefile
- the destination file
org.openxml4j.exceptions.OpenXML4JException
java.io.IOException
public static java.io.File createTempFile() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |