public class TerseReport extends Report
Constructor and Description |
---|
TerseReport(java.io.OutputStream os)
Creates a terse report for the given output stream.
|
TerseReport(java.io.OutputStream os,
java.io.File file)
Creates a terse report for the given output stream, and file.
|
TerseReport(java.io.OutputStream os,
java.lang.String source)
Creates a terse report for the given output stream, and string source.
|
TerseReport(java.io.Writer writer)
Creates a terse report for the given writer.
|
TerseReport(java.io.Writer writer,
java.io.File file)
Creates a terse report for the given writer, and a file source.
|
TerseReport(java.io.Writer writer,
java.lang.String source)
Creates a terse report for the given writer, and a string source.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
toString(Violation violation)
Returns the given violation, in single-line format.
|
addViolation, flush, getViolations, reset, reset, write
public TerseReport(java.io.Writer writer)
writer
- The writer associated with this report.public TerseReport(java.io.OutputStream os)
os
- The output stream associated with this report.public TerseReport(java.io.Writer writer, java.lang.String source)
writer
- The writer associated with this report.source
- The source code to which this report applies.public TerseReport(java.io.Writer writer, java.io.File file)
writer
- The writer associated with this report.file
- The file, containing source code, to which this report applies.public TerseReport(java.io.OutputStream os, java.lang.String source)
os
- The output stream associated with this report.source
- The source code to which this report applies.public TerseReport(java.io.OutputStream os, java.io.File file)
os
- The output stream associated with this report.file
- The file, containing source code, to which this report applies.protected java.lang.String toString(Violation violation)
TerseReport.java:77:22:77:29: Undocumented protected method