Class Vfs

    • Constructor Detail

      • Vfs

        public Vfs()
    • Method Detail

      • setDefaultURLTypes

        public static void setDefaultURLTypes​(List<Vfs.UrlType> urlTypes)
        sets the static default url types. can be used to statically plug in urlTypes
      • addDefaultURLTypes

        public static void addDefaultURLTypes​(Vfs.UrlType urlType)
        add a static default url types to the beginning of the default url types list. can be used to statically plug in urlTypes
      • fromURL

        public static Vfs.Dir fromURL​(URL url)
        tries to create a Dir from the given url, using the defaultUrlTypes
      • fromURL

        public static Vfs.Dir fromURL​(URL url,
                                      List<Vfs.UrlType> urlTypes)
        tries to create a Dir from the given url, using the given urlTypes
      • fromURL

        public static Vfs.Dir fromURL​(URL url,
                                      Vfs.UrlType... urlTypes)
        tries to create a Dir from the given url, using the given urlTypes
      • getFile

        public static File getFile​(URL url)
        try to get File from url