Represents a file in a hierarchical file system.
Nested Classes | |
Appender | Source Code shared formal Appender A |
Overwriter | Source Code shared formal Overwriter A |
Reader | Source Code shared formal Reader A |
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 Deprecated: Use Appender instead. A Parameters:
|
copy | Source Code Copy this file to the given location. Parameters:
|
copyOverwriting | Source Code Copy this file to the given location, overwriting the target if it already exists. Parameters:
|
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 Deprecated: Use Reader instead. A Parameters:
|
writer | Source Code Deprecated: Use Overwriter instead. A Parameters:
|
Inherited Methods |
Methods inherited from: Object equals |
Methods inherited from: ExistingResource |