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, removeAutoclose
public static final String TIMESTAMP_FORMAT
public XMLConsumer() throws IOException
IOException
public XMLConsumer(File fileName) throws IOException
IOException
public void accept(Result result) throws IOException
accept
in interface IResultsConsumer
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2014 Carrot Search s.c.. All rights reserved.