|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.jslint4java.maven.ReportWriterImpl
public class ReportWriterImpl
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 | |
---|---|
ReportWriterImpl(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 ReportWriterImpl(File reportFile, JSLintResultFormatter formatter)
Method Detail |
---|
public void close()
ReportWriter
close
in interface ReportWriter
public File getReportFile()
public void open()
ReportWriter
open
in interface ReportWriter
public void report(JSLintResult result)
ReportWriter
report
in interface ReportWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |