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()
ReportWriter
close
in interface ReportWriter
close
in interface Closeable
close
in interface AutoCloseable
public File getReportFile()
public void open()
ReportWriter
open
in interface ReportWriter
public void report(JSLintResult result)
ReportWriter
report
in interface ReportWriter
Copyright © 2007-2013. All Rights Reserved.