Helper class used to aggregate values having the same key to files
Modifiers | Name | Description |
---|---|---|
protected java.util.concurrent.ConcurrentMap<java.lang.String, java.nio.file.Path> |
cache |
Fields inherited from class | Fields |
---|---|
class FileCollector |
APPEND, TRUNCATE |
Constructor and description |
---|
SimpleFileCollector
() |
Type Params | Return Type | Name and description |
---|---|---|
|
SimpleFileCollector |
add(java.lang.String name, java.lang.Object value) |
|
boolean |
containsKey(java.lang.String key) |
|
java.nio.file.Path |
get(java.lang.String name) |
|
java.util.List<java.nio.file.Path> |
getFiles() |
|
boolean |
isEmpty() |
|
void |
saveFile(groovy.lang.Closure<java.nio.file.Path> closure) {@inheritDoc} |
|
int |
size() @return The number of files in the appender accumulator |
Methods inherited from class | Name |
---|---|
class FileCollector |
add, appendHeader, appendStream, close, createTempDir, getTempDir, makeHash, normalizeToStream, normalizeToStream0, safeClose, saveFile, saveTo, setTempDir |
{@inheritDoc}