public class ResultWriter extends Object implements ResultHandler
Modifier and Type | Class and Description |
---|---|
static class |
ResultWriter.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private boolean |
gzip
Whether or not to do gzip compression on output.
|
static OptionID |
GZIP_OUTPUT_ID
Flag to control GZIP compression.
|
private static Logging |
logger
The logger for this class.
|
private File |
out
Holds the file to print results to.
|
static OptionID |
OVERWRITE_OPTION_ID
Flag to suppress overwrite warning.
|
private boolean |
warnoverwrite
Whether or not to warn on overwrite
|
Constructor and Description |
---|
ResultWriter(File out,
boolean gzip,
boolean warnoverwrite)
Constructor.
|
private static final Logging logger
public static final OptionID GZIP_OUTPUT_ID
Key: -out.gzip
public static final OptionID OVERWRITE_OPTION_ID
Key: -out.silentoverwrite
private File out
private boolean gzip
private boolean warnoverwrite
public ResultWriter(File out, boolean gzip, boolean warnoverwrite)
out
- gzip
- warnoverwrite
- public void processNewResult(HierarchicalResult baseresult, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
baseresult
- The base of the result tree.result
- Newly added result subtree.