Class PhysicalZipFile

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class PhysicalZipFile
    extends java.lang.Object
    implements java.io.Closeable
    A physical zipfile, which is mmap'd using a FileChannel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean equals​(java.lang.Object obj)  
      java.io.File getFile()
      Get the File for the outermost jar file of this PhysicalZipFile.
      java.lang.String getPath()
      Get the path for this PhysicalZipFile, which is the file path, if it is file-backed, or a compound nested jar path, if it is memory-backed.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getFile

        public java.io.File getFile()
        Get the File for the outermost jar file of this PhysicalZipFile.
      • getPath

        public java.lang.String getPath()
        Get the path for this PhysicalZipFile, 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:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object