Class NestedJarHandler.RecyclableInflater
java.lang.Object
nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.RecyclableInflater
- All Implemented Interfaces:
AutoCloseable,Resettable
- Enclosing class:
NestedJarHandler
private static class NestedJarHandler.RecyclableInflater
extends Object
implements Resettable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
inflater
Create a newInflaterinstance with the "nowrap" option (which is needed for zipfile entries).
-
-
Constructor Details
-
RecyclableInflater
private RecyclableInflater()
-
-
Method Details
-
getInflater
Get theInflaterinstance.- Returns:
- the
Inflaterinstance.
-
reset
public void reset()Called when anInflaterinstance is recycled, to reset the inflater so it can accept new input.- Specified by:
resetin interfaceResettable
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-