public final class XMLConsumer extends AutocloseConsumer implements Closeable
IResultsConsumer that writes XML files for each benchmark.| Modifier and Type | Field and Description |
|---|---|
static String |
TIMESTAMP_FORMAT
Timestamp format.
|
| Constructor and Description |
|---|
XMLConsumer()
Instantiate from global options.
|
XMLConsumer(File fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Result result)
Accept a single benchmark result.
|
void |
close()
Close the output XML stream.
|
addAutoclose, removeAutoclosepublic static final String TIMESTAMP_FORMAT
public XMLConsumer()
throws IOException
IOExceptionpublic XMLConsumer(File fileName) throws IOException
IOExceptionpublic void accept(Result result) throws IOException
accept in interface IResultsConsumerIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2016 SciJava. All rights reserved.