public final class NGCCRuntimeEx extends NGCCRuntime
Constructor and Description |
---|
NGCCRuntimeEx(ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
File |
getBaseDir(String baseDir)
This will check if the baseDir provided by the user
in the config file exists.
|
List |
getExcludePatterns(List<String> excludeContent)
This takes the exclude list provided by the user in the config file
It converts the user values to
Pattern |
List<Pattern> |
getIncludePatterns(List<String> includeContent)
This takes the include list provided by the user in the config file
It converts the user values to
Pattern |
protected void |
unexpectedX(String token) |
characters, consumeAttribute, endDocument, endElement, endPrefixMapping, getAttributeIndex, getCurrentAttributes, getLocator, ignorableWhitespace, onEnterElementConsumed, onLeaveElementConsumed, processingInstruction, processList, redirectSubtree, replace, reset, resolveNamespacePrefix, sendEnterAttribute, sendEnterElement, sendLeaveAttribute, sendLeaveElement, sendText, setDocumentLocator, setRootHandler, skippedEntity, startDocument, startElement, startPrefixMapping, trace, traceln
public NGCCRuntimeEx(ErrorHandler errorHandler)
public File getBaseDir(String baseDir) throws SAXException
baseDir
- The baseDir attribute passed by the user in the xml config file as a pathSAXException
public List<Pattern> getIncludePatterns(List<String> includeContent)
Pattern
includeContent
- The include list specified by the userPattern
public List getExcludePatterns(List<String> excludeContent)
Pattern
excludeContent
- The exclude list specified by the userPattern
protected void unexpectedX(String token) throws SAXException
unexpectedX
in class NGCCRuntime
SAXException
Copyright © 2017 JBoss by Red Hat. All rights reserved.