Class PhysicalZipFile
- java.lang.Object
-
- nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class PhysicalZipFile extends Object implements Closeable
A physical zipfile, which is mmap'd using aFileChannel.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanequals(Object obj)FilegetFile()Get theFilefor the outermost jar file of thisPhysicalZipFile.StringgetPath()Get the path for thisPhysicalZipFile, which is the file path, if it is file-backed, or a compound nested jar path, if it is memory-backed.inthashCode()StringtoString()
-
-
-
Method Detail
-
getFile
public File getFile()
Get theFilefor the outermost jar file of thisPhysicalZipFile.
-
getPath
public String getPath()
Get the path for thisPhysicalZipFile, which is the file path, if it is file-backed, or a compound nested jar path, if it is memory-backed.
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-