Class PhysicalZipFile
- java.lang.Object
-
- nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class PhysicalZipFile extends java.lang.Object implements java.io.CloseableA physical zipfile, which is mmap'd using aFileChannel.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanequals(java.lang.Object obj)java.io.FilegetFile()Get theFilefor the outermost jar file of thisPhysicalZipFile.java.lang.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()java.lang.StringtoString()
-
-
-
Method Detail
-
getFile
public java.io.File getFile()
Get theFilefor the outermost jar file of thisPhysicalZipFile.
-
getPath
public java.lang.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.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-