public class SummaryDataWriter extends AbstractDataWriter
GCModel class.
It is intended to be used from a command line version of GCViewer.
TODO: datetime fields like 'totalTime' need to separate out their units.
out| Constructor and Description |
|---|
SummaryDataWriter(OutputStream out) |
SummaryDataWriter(OutputStream out,
Map<String,Object> configuration)
Constructor for SummaryDatWriter with additional
configuration parameter. |
| Modifier and Type | Method and Description |
|---|---|
void |
exportSummaryFromModel(GCModel model,
String filePath) |
void |
write(GCModel model) |
close, getConfigurationpublic SummaryDataWriter(OutputStream out)
public SummaryDataWriter(OutputStream out, Map<String,Object> configuration)
configuration parameter.out - OutputStream, where the output should be written toconfiguration - Configuration for this SummaryDataWriter; expected contents of the parameter:
ISummaryExportFormatter.NAMEpublic void write(GCModel model) throws IOException
write in interface DataWriterwrite in class AbstractDataWriterIOExceptionpublic void exportSummaryFromModel(GCModel model, String filePath) throws IOException
IOExceptionCopyright © 2019. All rights reserved.