public final class SuppressionsLoader extends AbstractLoader
Modifier and Type | Method and Description |
---|---|
FilterSet |
getFilterChain()
Returns the loaded filter chain.
|
static FilterSet |
loadSuppressions(String filename)
Returns the suppression filters in a specified file.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
error, fatalError, parseInputSource, resolveEntity, warning
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl
public FilterSet getFilterChain()
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public static FilterSet loadSuppressions(String filename) throws CheckstyleException
filename
- name of the suppresssions file.CheckstyleException
- if an error occurs.Copyright © 2001–2015. All rights reserved.