This class implements an abstract file backed by a File.
This class implements an abstract file backed by a File.
''Note: This library is considered experimental and should not be used unless you know what you are doing.''
- Companion
- object
Value members
Concrete methods
Delete the underlying file or directory (recursively).
Delete the underlying file or directory (recursively).
Returns all abstract subfiles of this abstract directory.
Returns all abstract subfiles of this abstract directory.
Returns the time that this abstract file was last modified.
Returns the time that this abstract file was last modified.
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 or a regular file.
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 or a regular file.
Inherited methods
- Inherited from
- IterableOps
- Inherited from
- IterableOnceOps
Returns a buffered output stream for writing the file - defaults to out
Returns a buffered output stream for writing the file - defaults to out
- Inherited from
- AbstractFile
Returns the path of this abstract file in a canonical form.
Returns the path of this abstract file in a canonical form.
- Inherited from
- AbstractFile
- Inherited from
- IterableOnceOps
- Inherited from
- IterableOnceOps
Does this abstract file denote an existing file?
Does this abstract file denote an existing file?
- Inherited from
- AbstractFile
Returns the underlying File if any and null otherwise.
Returns the underlying File if any and null otherwise.
- Inherited from
- AbstractFile
Get the file in this directory with the given name, creating an empty file if it does not already existing.
Get the file in this directory with the given name, creating an empty file if it does not already existing.
- Inherited from
- AbstractFile
- Inherited from
- IterableOps
Checks extension case insensitively.
Checks extension case insensitively.
- Inherited from
- AbstractFile
Does this abstract file represent something which can contain classfiles?
Does this abstract file represent something which can contain classfiles?
- Inherited from
- AbstractFile
Does this abstract file correspond to something on-disk?
Does this abstract file correspond to something on-disk?
- Inherited from
- AbstractFile
Drill down through subdirs looking for the target, as in lookupName. Ths target name is the last of parts.
Drill down through subdirs looking for the target, as in lookupName. Ths target name is the last of parts.
- Inherited from
- AbstractFile
Return an abstract file that does not check that path
denotes
an existing file.
Return an abstract file that does not check that path
denotes
an existing file.
- Inherited from
- AbstractFile
- Inherited from
- IterableOnceOps
Get the subdirectory with a given name, creating it if it does not already exist.
Get the subdirectory with a given name, creating it if it does not already exist.
- Inherited from
- AbstractFile
Returns contents of file (if applicable) in a byte array.
Returns contents of file (if applicable) in a byte array.
- Inherited from
- AbstractFile
Returns contents of file (if applicable) in a Char array.
warning: use Global.getSourceFile()
to use the proper
encoding when converting to the char array.
Returns contents of file (if applicable) in a Char array.
warning: use Global.getSourceFile()
to use the proper
encoding when converting to the char array.
- Inherited from
- AbstractFile
Returns the path of this abstract file.
Returns the path of this abstract file.
- Definition Classes
- Inherited from
- AbstractFile
- Inherited from
- IterableOps
Deprecated and Inherited methods
- Deprecated
- Inherited from
- IterableOps
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOps
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOps
- Deprecated
- Inherited from
- Iterable
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOnceOps
- Deprecated
- Inherited from
- IterableOps