public final class NGCCRuntimeEx
extends NGCCRuntime
Constructor and Description |
---|
NGCCRuntimeEx(org.xml.sax.ErrorHandler errorHandler) |
Modifier and Type | Method and 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 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 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) |
public 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.SAXException
public java.util.List<java.util.regex.Pattern> getIncludePatterns(java.util.List includeContent)
Pattern
includeContent
- The include list specified by the userPattern
public java.util.List getExcludePatterns(java.util.List excludeContent)
Pattern
excludeContent
- The exclude list specified by the userPattern
protected void unexpectedX(java.lang.String token) throws org.xml.sax.SAXException
org.xml.sax.SAXException