class DataTableFiles extends java.lang.Object
An encasulation of the files that can persist a data table.
Constructor and description |
---|
DataTableFiles
() |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
areFiles() Return true if all the data table files exist and are files. |
|
boolean |
areNull() Return true if any of the data table files are null. |
|
boolean |
areReadable() Return true if all the data table files exist and are readable. |
|
static DataTableFiles |
create(java.io.File dir, java.lang.String name) Create the data table files in the provided directory for the provided name. |
|
void |
delete() Delete the data table files from the file system. |
|
boolean |
exist() Return true if all data files exist. |
|
java.util.List<java.io.File> |
toList() Return the data table file in a list. |
|
java.util.Map<java.lang.String, java.io.File> |
toMap() Return the data table files in a map. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Return true if all the data table files exist and are files.
Return true if any of the data table files are null.
Return true if all the data table files exist and are readable.
Create the data table files in the provided directory for the provided name.
name
- The name of the data tabledir
- The target directoryDelete the data table files from the file system.
Return true if all data files exist.
Return the data table file in a list.
Return the data table files in a map.
Groovy Documentation