Class FolderWrapper

    • Field Summary

      • Fields inherited from class java.io.File

        pathSeparator, pathSeparatorChar, separator, separatorChar
    • Constructor Summary

      Constructors 
      Constructor Description
      FolderWrapper​(java.lang.String pathname)
      Creates a new File instance by converting the given pathname string into an abstract pathname.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean exists()
      Returns whether the resource actually exists.
      IAbstractFile getFile​(java.lang.String name)
      Returns an IAbstractFile representing a child of the current folder with the given name.
      java.lang.String getOsLocation()
      Returns the OS path of the folder location (may be absolute).
      • Methods inherited from class java.io.File

        canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
      • Methods inherited from class java.lang.Object

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

      • FolderWrapper

        public FolderWrapper​(java.lang.String pathname)
        Creates a new File instance by converting the given pathname string into an abstract pathname.
        Parameters:
        pathname - the pathname
        See Also:
        File(String)
    • Method Detail

      • getFile

        public IAbstractFile getFile​(java.lang.String name)
        Description copied from interface: IAbstractFolder
        Returns an IAbstractFile representing a child of the current folder with the given name. The file may not actually exist.
        Specified by:
        getFile in interface IAbstractFolder
        Parameters:
        name - the name of the file.
      • exists

        public boolean exists()
        Description copied from interface: IAbstractResource
        Returns whether the resource actually exists.
        Specified by:
        exists in interface IAbstractResource
        Overrides:
        exists in class java.io.File