MetricsReportWriterpublic class TextReportWriter extends OutputStreamReportWriter
OutputStream.| Constructor | Description |
|---|---|
TextReportWriter(java.io.OutputStream pOutputStream) |
Create a new
TextReportWriter that uses UTF-8 as encoding. |
TextReportWriter(java.io.OutputStream pOutputStream,
java.nio.charset.Charset pCharset) |
Create a new
TextReportWriter. |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
writeReportContents(JavaMetrics pMetrics,
MetricsReportMetaData pMetaData) |
Write the report's contents to the underlying stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecreaseIndentationLevel, flush, increaseIndentationLevel, write, write, write, writeIndentation, writeLineBreak, writeReportpublic TextReportWriter(@Nonnull
java.io.OutputStream pOutputStream)
TextReportWriter that uses UTF-8 as encoding.pOutputStream - The stream to write the report to.java.lang.NullPointerException - if pOutputStream is null.public TextReportWriter(@Nonnull
java.io.OutputStream pOutputStream,
@Nonnull
java.nio.charset.Charset pCharset)
TextReportWriter.pOutputStream - The stream to write the report to.pCharset - The character set to encode the report with.java.lang.NullPointerException - if any of the parameters is null.protected void writeReportContents(@Nonnull
JavaMetrics pMetrics,
@Nonnull
MetricsReportMetaData pMetaData)
OutputStreamReportWriterwriteReportContents in class OutputStreamReportWriterpMetrics - The metrics to get the report data from.pMetaData - The report's meta data.