|
|||||||||
| 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 java.io.OutputStream |
out
|
protected java.io.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(java.lang.String name,
java.util.List<Issue> issues)
Emit all issues to the console. |
void |
setOut(java.io.OutputStream os)
Called during initialization. |
protected java.lang.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 java.io.OutputStream out
protected java.io.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(java.lang.String name,
java.util.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(java.io.OutputStream os)
ResultFormatter
setOut in interface ResultFormatterprotected java.lang.String spaces(int howmany)
howmany -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||