|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.incava.analysis.Report
org.incava.analysis.TerseReport
public class TerseReport
Reports errors in a single line, AKA the format expected by Emacs (!c).
Field Summary |
---|
Fields inherited from class org.incava.analysis.Report |
---|
fileName |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
protected java.lang.String |
toString(Violation violation)
Returns the given violation, in single-line format. |
Methods inherited from class org.incava.analysis.Report |
---|
addViolation, flush, getViolations, reset, reset, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
protected java.lang.String toString(Violation violation)
TerseReport.java:77:22:77:29: Undocumented protected method
toString
in class Report
violation
- The violation to represent as a single-line violation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |