public static final class ParserConfig.Builder
extends java.lang.Object
ParserConfig
.Modifier and Type | Method and Description |
---|---|
ParserConfig |
build()
Builds the parser config.
|
ParserConfig.Builder |
concat(ConcatMode concat)
Sets the concat mode
|
ParserConfig.Builder |
forceCase(boolean forceCase)
Sets whether forcing triggers to lowercase is enabled.
|
ParserConfig.Builder |
strict(boolean strict)
Sets whether strict syntax checking is enabled.
|
ParserConfig.Builder |
utf8(boolean utf8)
Sets whether UTF-8 mode is enabled.
|
public ParserConfig.Builder strict(boolean strict)
strict
- whether strict syntax checking is enabledpublic ParserConfig.Builder utf8(boolean utf8)
utf8
- whether UTF-8 is enabledpublic ParserConfig.Builder forceCase(boolean forceCase)
forceCase
- whether forcing triggers to lowercase is enabledpublic ParserConfig.Builder concat(ConcatMode concat)
concat
- the concat modepublic ParserConfig build()