public static class CheckstyleAntTask.Formatter extends Object
| Constructor and Description |
|---|
Formatter() |
| Modifier and Type | Method and Description |
|---|---|
AuditListener |
createListener(org.apache.tools.ant.Task task)
Creates a listener for the formatter.
|
void |
setTofile(File destination)
Set the file to output to.
|
void |
setType(CheckstyleAntTask.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 Formatter()
public void setType(CheckstyleAntTask.FormatterType type)
type - the typepublic void setTofile(File destination)
destination - destination 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–2018. All rights reserved.