public static class CheckStyleTask.Formatter extends Object
Constructor and Description |
---|
CheckStyleTask.Formatter() |
Modifier and Type | Method and Description |
---|---|
AuditListener |
createListener(org.apache.tools.ant.Task task)
Creates a listener for the formatter.
|
void |
setTofile(File to)
Set the file to output to.
|
void |
setType(CheckStyleTask.FormatterType type)
Set the type of the formatter.
|
void |
setUseFile(boolean use)
Sets whether or not we write to a file if it is provided.
|
public CheckStyleTask.Formatter()
public void setType(CheckStyleTask.FormatterType type)
type
- the typepublic void setTofile(File to)
to
- the file to output topublic void setUseFile(boolean use)
use
- whether not not to use provided file.public AuditListener createListener(org.apache.tools.ant.Task task) throws IOException
task
- the task runningIOException
- if an error occursCopyright © 2001–2015. All rights reserved.