public class DirectoryReference extends PathReference
| Modifier and Type | Field and Description |
|---|---|
private boolean |
recursive
Flag indicating if the directory should be walked recursively.
|
private java.lang.String |
spec
The specification to match files in this directory.
|
| Constructor and Description |
|---|
DirectoryReference()
Create a new instance.
|
DirectoryReference(java.lang.String path,
boolean recursive,
java.lang.String spec)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSpec()
Get the
specification to load files from the directory. |
boolean |
isRecursive()
Get the
recursive flag. |
void |
setRecursive(boolean recursive)
Set the
recursive flag. |
void |
setSpec(java.lang.String spec)
Set the specification to match files in this directory.
|
getPath, isDirectory, setPathprivate boolean recursive
private java.lang.String spec
public DirectoryReference()
public DirectoryReference(java.lang.String path,
boolean recursive,
java.lang.String spec)
path - The reference path.recursive - Flag indicating if the directory should be walked recursively.spec - The specification to match files in this directory.public java.lang.String getSpec()
specification to load files from the directory.public void setSpec(java.lang.String spec)
spec - The specification to match files in this directory.public boolean isRecursive()
recursive flag.public void setRecursive(boolean recursive)
recursive flag.recursive - Flag indicating if the directory should be walked recursively.