|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jslint4java.formatter.PlainFormatter
public class PlainFormatter
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.
| Constructor Summary | |
|---|---|
PlainFormatter()
|
|
| Method Summary | |
|---|---|
String |
footer()
No footer required. |
String |
format(JSLintResult result)
Convert JSLintResult into a suitably formatted String representation. |
String |
header()
No footer required. |
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 |
| Constructor Detail |
|---|
public PlainFormatter()
| Method Detail |
|---|
public String footer()
footer in interface JSLintResultFormatterpublic String format(JSLintResult result)
JSLintResultFormatterJSLintResult into a suitably formatted String representation.
format in interface JSLintResultFormatterpublic String header()
header in interface JSLintResultFormatterprotected String spaces(int howmany)
howmany -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||