Class OPCPackageWrapper

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class OPCPackageWrapper
    extends Object
    implements Closeable
    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 Detail

      • OPCPackageWrapper

        public OPCPackageWrapper​(org.apache.poi.openxml4j.opc.OPCPackage opcPackage)