public interface ResultFormatter
Modifier and Type | Method and Description |
---|---|
void |
begin()
Called at the start of
JSLintTask execution. |
void |
end()
Called at the end of
JSLintTask execution. |
void |
output(JSLintResult result)
Called for each file that is checked by
JSLintTask . |
void |
setFile(File file)
Called during initialization.
|
void |
setStdout(OutputStream defaultOutputStream)
If you want to write to stdout, you can't just use System.out, because we're in the middle of
ant task.
|
void begin()
JSLintTask
execution.void end()
JSLintTask
execution.void output(JSLintResult result)
JSLintTask
.result
- The details if this JSLint run.void setFile(File file)
file
- The file to write to.void setStdout(OutputStream defaultOutputStream)
Copyright © 2007-2013. All Rights Reserved.