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 newInflater
instance with the "nowrap" option (which is needed for zipfile entries).
-
-
Constructor Details
-
RecyclableInflater
private RecyclableInflater()
-
-
Method Details
-
getInflater
Get theInflater
instance.- Returns:
- the
Inflater
instance.
-
reset
public void reset()Called when anInflater
instance is recycled, to reset the inflater so it can accept new input.- Specified by:
reset
in interfaceResettable
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-