|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.jslint4java.maven.ReportWriter
public class ReportWriter
Write a report formatted by a JSLintResultFormatter to a file. You
should call the methods in this order:
If you don't call close(), you won't see any output.
| Constructor Summary | |
|---|---|
ReportWriter(File reportFile,
JSLintResultFormatter formatter)
|
|
| Method Summary | |
|---|---|
void |
close()
End the report. |
File |
getReportFile()
The file the report is written to. |
void |
open()
Begin the report. |
void |
report(JSLintResult result)
Report the result of a run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportWriter(File reportFile,
JSLintResultFormatter formatter)
| Method Detail |
|---|
public void close()
public File getReportFile()
public void open()
public void report(JSLintResult result)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||