com.puppycrawl.tools.checkstyle

Class CheckStyleTask.Formatter

Enclosing Class:
CheckStyleTask

public static class CheckStyleTask.Formatter
extends java.lang.Object

Details about a formatter to be used.

Author:
Oliver Burn

Method Summary

AuditListener
createListener(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.

Method Details

createListener

public AuditListener createListener(Task aTask)
            throws IOException
Creates a listener for the formatter.

Parameters:
aTask - the task running

Returns:
a listener


setTofile

public void setTofile(File aTo)
Set the file to output to.

Parameters:
aTo - the file to output to


setType

public void setType(CheckStyleTask.FormatterType aType)
Set the type of the formatter.

Parameters:
aType - the type