|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.CheckStyleTask.Formatter
public static class CheckStyleTask.Formatter
Details about a formatter to be used.
| Constructor Summary | |
|---|---|
CheckStyleTask.Formatter()
|
|
| Method Summary | |
|---|---|
AuditListener |
createListener(org.apache.tools.ant.Task aTask)
Creates a listener for the formatter. |
void |
setTofile(File aTo)
Set the file to output to. |
void |
setType(CheckStyleTask.FormatterType aType)
Set the type of the formatter. |
void |
setUseFile(boolean aUse)
Sets whether or not we write to a file if it is provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckStyleTask.Formatter()
| Method Detail |
|---|
public void setType(CheckStyleTask.FormatterType aType)
aType - the typepublic void setTofile(File aTo)
aTo - the file to output topublic void setUseFile(boolean aUse)
aUse - whether not not to use provided file.
public AuditListener createListener(org.apache.tools.ant.Task aTask)
throws IOException
aTask - the task running
IOException - if an error occurs
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||