| com.puppycrawl.tools.checkstyle.api.FileSetCheck
All known Subclasses: com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck,
Method Summary | |
void | destroy() Cleans up the object. | void | process(File[] aFiles) Processes a set of files and fires errors to the MessageDispatcher.
The file set to process might contain files that are not
interesting to the FileSetCheck. | void | setMessageDispatcher(MessageDispatcher aDispatcher) Sets the MessageDispatcher that is used to dispatch error
messages to AuditListeners during processing. |
destroy | void destroy()(Code) | | Cleans up the object. *
|
process | void process(File[] aFiles)(Code) | | Processes a set of files and fires errors to the MessageDispatcher.
The file set to process might contain files that are not
interesting to the FileSetCheck. Such files should be ignored,
no error message should be fired for them. For example a FileSetCheck
that checks java files should ignore html or properties files.
Once processiong is done, it is highly recommended to call for
the destroy method to close and remove the listeners.
Parameters: aFiles - the files to be audited. See Also: FileSetCheck.destroy() |
setMessageDispatcher | void setMessageDispatcher(MessageDispatcher aDispatcher)(Code) | | Sets the MessageDispatcher that is used to dispatch error
messages to AuditListeners during processing.
Parameters: aDispatcher - the dispatcher |
|
|