|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.puppycrawl.tools.checkstyle.api.AbstractLoader
com.puppycrawl.tools.checkstyle.filters.SuppressionsLoader
public final class SuppressionsLoader
Loads a filter chain of suppressions.
| Method Summary | |
|---|---|
FilterSet |
getFilterChain()
Returns the loaded filter chain. |
static FilterSet |
loadSuppressions(String aFilename)
Returns the suppression filters in a specified file. |
void |
startElement(String aNamespaceURI,
String aLocalName,
String aQName,
Attributes aAtts)
|
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractLoader |
|---|
error, fatalError, parseInputSource, resolveEntity, warning |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public FilterSet getFilterChain()
public void startElement(String aNamespaceURI,
String aLocalName,
String aQName,
Attributes aAtts)
throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXException
public static FilterSet loadSuppressions(String aFilename)
throws CheckstyleException
aFilename - name of the suppresssions file.
CheckstyleException - if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||