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, tracelnpublic 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 pathSAXExceptionpublic List<Pattern> getIncludePatterns(List<String> includeContent)
PatternincludeContent - The include list specified by the userPatternpublic List getExcludePatterns(List<String> excludeContent)
PatternexcludeContent - The exclude list specified by the userPatternprotected void unexpectedX(String token) throws SAXException
unexpectedX in class NGCCRuntimeSAXExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.