org.incava.analysis
Class TerseReport
Reports errors in a single line, AKA the format expected by Emacs (!c).
TerseReport(OutputStream os)- Creates a terse report for the given output stream.
|
TerseReport(OutputStream os, File file)- Creates a terse report for the given output stream, and file.
|
TerseReport(OutputStream os, String source)- Creates a terse report for the given output stream, and string source.
|
TerseReport(Writer writer)- Creates a terse report for the given writer.
|
TerseReport(Writer writer, File file)- Creates a terse report for the given writer, and a file source.
|
TerseReport(Writer writer, String source)- Creates a terse report for the given writer, and a string source.
|
protected String | toString(Violation violation)- Returns the given violation, in single-line format.
|
TerseReport
public TerseReport(OutputStream os)
Creates a terse report for the given output stream.
os - The output stream associated with this report.
TerseReport
public TerseReport(OutputStream os,
File file) Creates a terse report for the given output stream, and file.
os - The output stream associated with this report.file - The file, containing source code, to which this report applies.
TerseReport
public TerseReport(OutputStream os,
String source) Creates a terse report for the given output stream, and string source.
os - The output stream associated with this report.source - The source code to which this report applies.
TerseReport
public TerseReport(Writer writer)
Creates a terse report for the given writer.
writer - The writer associated with this report.
TerseReport
public TerseReport(Writer writer,
File file) Creates a terse report for the given writer, and a file source.
writer - The writer associated with this report.file - The file, containing source code, to which this report applies.
TerseReport
public TerseReport(Writer writer,
String source) Creates a terse report for the given writer, and a string source.
writer - The writer associated with this report.source - The source code to which this report applies.
toString
protected String toString(Violation violation)
Returns the given violation, in single-line format. For example:
TerseReport.java:77:22:77:29: Undocumented protected method
- toString in interface Report
violation - The violation to represent as a single-line violation.
- The violation, in single-line format.