An in-memory directory.
Returns the time that this abstract file was last modified.
Returns the name of this abstract file.
The absolute file, if this is a relative file.
Returns the containing directory of this abstract file
Does this abstract file denote an existing file?
Delete the underlying file or directory (recursively).
Returns the underlying File if any and null otherwise.
Get the file in this directory with the given name, creating an empty file if it does not already existing.
returns an input stream so the file can be read
Is this abstract file a directory?
Does this abstract file correspond to something on-disk?
Returns all abstract subfiles of this abstract directory.
Returns the abstract file in this abstract directory with the specified
name. If there is no such file, returns
null. The argument
directory tells whether to look for a directory or
a regular file.
Returns an abstract file with the given name. It does not check that it exists.
Returns an output stream for writing the file
Returns the path of this abstract file.
Get the subdirectory with a given name, creating it if it does not already exist.