Represents a file in a hierarchical file system.
Attributes | |
contentType | Source Code shared formal String? contentType Determine the content type of this file, if possible. |
directory | Source Code shared formal Directory directory The directory containing this file. |
executable | Source Code shared formal Boolean executable Determine if this file may be executed. |
Source Code shared formal Boolean hidden Determine if this file is considered hidden. | |
lastModifiedMilliseconds | Source Code shared formal variable Integer lastModifiedMilliseconds The timestamp of the last modification of this file. |
name | Source Code shared formal String name The name of this file. |
readable | Source Code shared formal Boolean readable Determine if this file may be read from. |
size | Source Code shared formal Integer size The size of this file, in bytes. |
store | Source Code shared formal Store store The store to which this file belongs. |
writable | Source Code shared formal Boolean writable Determine if this file may be written to. |
Inherited Attributes |
Attributes inherited from: Object hash, string |
Attributes inherited from: ExistingResource |
Attributes inherited from: Resource |
Methods | |
appender | Source Code A Parameters:
|
copy | Source Code Copy this file to the given location. |
copyOverwriting | Source Code Copy this file to the given location, overwriting the target if it already exists. |
createLink | Source Code Create a hard link to this file. |
createSymbolicLink | Source Code Create a symbolic link to this file. |
move | Source Code Move this file to the given location. |
moveOverwriting | Source Code Move this file to the given location, overwriting the target if it already exists. |
reader | Source Code A Parameters:
|
writer | Source Code A Parameters:
|
Inherited Methods |
Methods inherited from: Object equals |
Methods inherited from: ExistingResource |