@SuppressWarnings('AbstractClassWithoutAbstractMethod') abstract class FileSystemOperationsProxy extends Object
Common filesystem operations
| Modifiers | Name | Description |
|---|---|---|
protected File |
projectDir |
The project directory. |
protected java.nio.file.Path |
projectDirPath |
The project directory as java.nio.file.Path. |
protected File |
rootDir |
The root project directory. |
protected java.nio.file.Path |
rootDirPath |
The project root directory as java.nio.file.Path. |
| Constructor and description |
|---|
protected FileSystemOperationsProxy
(Project tempProjectReference) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
String |
relativePath(Object f)Returns the relative path from the project directory to the given path. |
|
String |
relativePathToProjectDir(Object f)Returns the relative path from the given path to the project directory. |
|
String |
relativePathToRootDir(Object f)Returns the relative path from the given path to the root project directory. |
|
String |
relativeRootPath(Object f)Returns the relative path from the root project directory to the given path. |
The project directory.
The project directory as java.nio.file.Path.
The root project directory.
The project root directory as java.nio.file.Path.
Returns the relative path from the project directory to the given path.
f - Object that is resolvable to a file within project context.null.Returns the relative path from the given path to the project directory.
f - Object that is resolvable to a file within project contextnull.Returns the relative path from the given path to the root project directory.
f - Object that is resolvable to a file within project contextnull.