|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.result.ResultWriter
public class ResultWriter

Result handler that feeds the data into a TextWriter
| Nested Class Summary | |
|---|---|
static class |
ResultWriter.Parameterizer
Parameterization class. |
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
ResultWriter(File out,
boolean gzip,
boolean warnoverwrite)
Constructor. |
|
| Method Summary | |
|---|---|
void |
processNewResult(HierarchicalResult baseresult,
Result result)
Process a result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public ResultWriter(File out,
boolean gzip,
boolean warnoverwrite)
out - gzip - warnoverwrite - | Method Detail |
|---|
public void processNewResult(HierarchicalResult baseresult,
Result result)
ResultProcessor
processNewResult in interface ResultProcessorbaseresult - The base of the result tree.result - Newly added result subtree.
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||