public class ReportWriterImpl extends Object implements ReportWriter
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 and Description |
|---|
ReportWriterImpl(File reportFile,
JSLintResultFormatter formatter) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ReportWriterImpl(File reportFile, JSLintResultFormatter formatter)
public void close()
ReportWriterclose in interface ReportWriterclose in interface Closeableclose in interface AutoCloseablepublic File getReportFile()
public void open()
ReportWriteropen in interface ReportWriterpublic void report(JSLintResult result)
ReportWriterreport in interface ReportWriterCopyright © 2007-2013. All Rights Reserved.