NGCCEventSourcepublic final class NGCCRuntimeEx extends NGCCRuntime
| Constructor | Description |
|---|---|
NGCCRuntimeEx(org.xml.sax.ErrorHandler errorHandler) |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.File |
getBaseDir(java.lang.String baseDir) |
This will check if the baseDir provided by the user
in the config file exists.
|
java.util.List |
getExcludePatterns(java.util.List<java.lang.String> excludeContent) |
This takes the exclude list provided by the user in the config file
It converts the user values to
Pattern |
java.util.List<java.util.regex.Pattern> |
getIncludePatterns(java.util.List<java.lang.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(java.lang.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 java.io.File getBaseDir(java.lang.String baseDir)
throws org.xml.sax.SAXException
baseDir - The baseDir attribute passed by the user in the xml config file as a pathorg.xml.sax.SAXExceptionpublic java.util.List<java.util.regex.Pattern> getIncludePatterns(java.util.List<java.lang.String> includeContent)
PatternincludeContent - The include list specified by the userPatternpublic java.util.List getExcludePatterns(java.util.List<java.lang.String> excludeContent)
PatternexcludeContent - The exclude list specified by the userPatternprotected void unexpectedX(java.lang.String token)
throws org.xml.sax.SAXException
unexpectedX in class NGCCRuntimeorg.xml.sax.SAXExceptionCopyright © 2018 Oracle Corporation. All rights reserved.