GeneratedFiles implementation that stores generated files using a
FileSystem.
| Modifier and Type | Field and Description |
|---|---|
| private final Function |
| Access | Constructor and Description |
|---|---|
| public | FileSystemGeneratedFiles(Path
the root path root)Create a new |
| public | FileSystemGeneratedFiles(Function<GeneratedFiles.
a function that returns the root to use for the given
rootsKindCreate a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | addFile(GeneratedFiles.
the kind of file being written kind,the relative path of the file path, InputStreamSource an content)InputStreamSource that will provide an input
stream containing the file contentsImplements org. Add a generated file of the specified |
| private static Function |
| roots | back to summary |
|---|---|
| private final Function<GeneratedFiles. | |
| FileSystemGeneratedFiles | back to summary |
|---|---|
| public FileSystemGeneratedFiles(Path root) Create a new
| |
| FileSystemGeneratedFiles | back to summary |
|---|---|
| public FileSystemGeneratedFiles(Function<GeneratedFiles. Create a new
| |
| addFile | back to summary |
|---|---|
| public void addFile(GeneratedFiles. Implements org. Doc from org. Add a generated file of the specified
| |
| conventionRoots | back to summary |
|---|---|
| private static Function | |