code: @Override
      protected FileType doGetType() throws Exception {
          // JDK BUG: 6192331
          // if (!file.exists())
          if (!file.exists() && file.length() < 1) {
              return FileType.IMAGINARY;
          }
  
          if (file.isDirectory()) {
              return FileType.FOLDER;
          }
  
          // In doubt, treat an existing file as file
          // if (file.isFile())
          // {
          return FileType.FILE;
          // }
  
          // throw new FileSystemException("vfs.provider.local/get-type.error", file);
      }
docs: Returns the file's type.