public abstract class PathReference
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
directory
Flag indicating if this path is a directory.
|
private java.lang.String |
path
The target path.
|
Constructor and Description |
---|
PathReference(boolean directory)
Create a new instance.
|
PathReference(java.lang.String path,
boolean directory)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath()
Get the
path . |
boolean |
isDirectory()
Get the
directory flag. |
void |
setPath(java.lang.String path)
Set the
path . |
private final boolean directory
private java.lang.String path
public PathReference(boolean directory)
directory
- Flag indicating if this is a directory reference.public PathReference(java.lang.String path, boolean directory)
path
- The reference path.directory
- Flag indicating if this is a directory reference.