GeneratedFiles implementation that keeps generated files in-memory.
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| 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 |
| public InputStreamSource | Returns: the file source ornull if no file could be foundthe kind of generated file kind,the path of the file path)Return the |
| public String | Returns: the file content ornull if no file could be foundthe kind of generated file kind,the path of the file path)Return the content of the specified file. |
| public Map | getGeneratedFiles(GeneratedFiles.
the kind of generated file kind |
| files | back to summary |
|---|---|
| private final Map<GeneratedFiles. | |
| InMemoryGeneratedFiles | back to summary |
|---|---|
| public InMemoryGeneratedFiles() | |
| addFile | back to summary |
|---|---|
| public void addFile(GeneratedFiles. Implements org. Doc from org. Add a generated file of the specified
| |
| getGeneratedFile | back to summary |
|---|---|
| public InputStreamSource getGeneratedFile(GeneratedFiles. Return the
| |
| getGeneratedFileContent | back to summary |
|---|---|
| public String getGeneratedFileContent(GeneratedFiles. Return the content of the specified file.
| |
| getGeneratedFiles | back to summary |
|---|---|
| public Map Return a
| |