|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.jslint4java.ant.PlainResultFormatter
public class PlainResultFormatter
Output all JSLint errors to the console. Shows the error, the line on which it occurred and a pointer to the character at which it occurred.
| Field Summary | |
|---|---|
protected OutputStream |
out
|
protected PrintWriter |
w
|
| Constructor Summary | |
|---|---|
PlainResultFormatter()
|
|
| Method Summary | |
|---|---|
void |
begin()
Called at the start of JSLintTask execution. |
void |
end()
Called at the end of JSLintTask execution. |
void |
output(String name,
List<Issue> issues)
Emit all issues to the console. |
void |
setOut(OutputStream os)
Called during initialization. |
protected String |
spaces(int howmany)
Return a string of howmany spaces. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected OutputStream out
protected PrintWriter w
| Constructor Detail |
|---|
public PlainResultFormatter()
| Method Detail |
|---|
public void begin()
ResultFormatterJSLintTask execution.
begin in interface ResultFormatterpublic void end()
ResultFormatterJSLintTask execution.
end in interface ResultFormatter
public void output(String name,
List<Issue> issues)
output in interface ResultFormattername - The file just examined.issues - A list of issues fond with this file. May be empty.ResultFormatter.output(String, List)public void setOut(OutputStream os)
ResultFormatter
setOut in interface ResultFormatterprotected String spaces(int howmany)
howmany -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||