Represents a directory in a hierarchical file system.
no type hierarchy
no subtypes hierarchy
Attributes | |
name | Source Codeshared formal String name The name of this directory. |
Inherited Attributes |
Attributes inherited from: Object |
Attributes inherited from: ExistingResource |
Attributes inherited from: Resource |
Methods | |
childDirectories | Source Codeshared formal {Directory*} childDirectories(String filter = ...) The subdirectories that directly belong to this directory. Parameters:
|
childPaths | Source Codeshared formal {Path*} childPaths(String filter = ...) The paths of all files and subdirectories that directly belong to this directory. Parameters:
|
childResource | Source Codeshared formal Resource childResource(Path|String subpath) Obtain a resource belonging to this directory. |
children | Source Codeshared formal {ExistingResource*} children(String filter = ...) The files and subdirectories that directly belong to this directory. Parameters:
|
files | Source Codeshared formal {File*} files(String filter = ...) The files that directly belong to this directory. Parameters:
|
move | Source Codeshared formal Directory move(Nil target) Move this directory to the given location. |
Inherited Methods |
Methods inherited from: Object |
Methods inherited from: ExistingResource |
Nested Classes | |
TemporaryDirectory | Source Codeshared formal TemporaryDirectory A new temporary try (tempDirectory = temporaryDirectory.TemporaryDirectory()) { // ... } If possible, a |
TemporaryFile | Source Codeshared formal TemporaryFile A new temporary try (tempFile = temporaryDirectory.TemporaryFile()) { // ... } If possible, a |