Class ZipDir

  • All Implemented Interfaces:
    Vfs.Dir

    public class ZipDir
    extends java.lang.Object
    implements Vfs.Dir
    an implementation of Vfs.Dir for ZipFile
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.zip.ZipFile jarFile  
    • Constructor Summary

      Constructors 
      Constructor Description
      ZipDir​(java.util.jar.JarFile jarFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.Iterable<Vfs.File> getFiles()  
      java.lang.String getPath()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • jarFile

        final java.util.zip.ZipFile jarFile
    • Constructor Detail

      • ZipDir

        public ZipDir​(java.util.jar.JarFile jarFile)
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Specified by:
        getPath in interface Vfs.Dir
      • close

        public void close()
        Specified by:
        close in interface Vfs.Dir
      • toString

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