com.puppycrawl.tools.checkstyle
Class CheckStyleTask.Formatter
- CheckStyleTask
public static class CheckStyleTask.Formatter
Details about a formatter to be used.
createListener
public AuditListener createListener(Task aTask)
throws IOException
Creates a listener for the formatter.
setTofile
public void setTofile(File aTo)
Set the file to output to.
aTo
- the file to output to
setUseFile
public void setUseFile(boolean aUse)
Sets whether or not we write to a file if it is provided.
aUse
- whether not not to use provided file.