Class OPCPackageWrapper
java.lang.Object
org.apache.tika.parser.microsoft.ooxml.OPCPackageWrapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
This is a wrapper around OPCPackage that calls revert() instead of close().
We added this during the upgrade of POI to 5.x to avoid a warning.
TIKA-3663
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OPCPackageWrapper
public OPCPackageWrapper(org.apache.poi.openxml4j.opc.OPCPackage opcPackage)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getOPCPackage
public org.apache.poi.openxml4j.opc.OPCPackage getOPCPackage()
-