public interface BaseDirBuilder extends Closeable
Modifier and Type | Method and Description |
---|---|
Path |
build()
Build the baseDir.
|
Path |
dir(String path)
Creates a directory at the given path within the base dir.
|
Path |
file(String path)
Returns a path for the given path within the base dir.
|
Path |
file(String path,
String content)
Creates a file with the given string content at the given path within the base dir.
|
Path file(String path)
All parent directories will be created on demand.
path
- The relative path to the pathPath file(String path, String content)
All parent directories will be created on demand.
path
- The relative path to the file to createcontent
- The content to write to the filePath dir(String path)
All parent directories will be created on demand.
path
- The relative path to the file to createPath build()