|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectkotka.gradle.utils.FileUtil
class FileUtil
A utility class to help working with files.
| Method Summary | |
|---|---|
static java.lang.Object
|
file(java.io.File parent, java.lang.String... segments)
Creates a child file under parent. |
static java.lang.Object
|
file(java.lang.String parent, java.lang.String... segments)
Creates a child file under parent. |
static void
|
remove(java.io.File f)
Deletes the given file. |
static void
|
remove(java.lang.String f)
Deletes the given file. |
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
| Method Detail |
|---|
static java.lang.Object file(java.io.File parent, java.lang.String... segments)
parent - the parent filesegments - segments describing the path to the child entry
static java.lang.Object file(java.lang.String parent, java.lang.String... segments)
parent - the parent filenamesegments - segments describing the path to the child entry
static void remove(java.io.File f)
file - The file to be removed.
static void remove(java.lang.String f)
file - The file to be removed.
Groovy Documentation