com.puppycrawl.tools.checkstyle.filters
Class SuppressionsLoader
public final class SuppressionsLoader
Loads a filter chain of suppressions.
- Rick Giles
getFilterChain
public FilterSet getFilterChain()
Returns the loaded filter chain.
- the loaded filter chain.
loadSuppressions
public static FilterSet loadSuppressions(String aFilename)
throws CheckstyleException
Returns the suppression filters in a specified file.
aFilename
- name of the suppresssions file.
- the filter chain of suppression elements specified in the file.
CheckstyleException
- if an error occurs.
startElement
public void startElement(String aNamespaceURI,
String aLocalName,
String aQName,
Attributes aAtts)
throws SAXException
*