Package com.atlassian.jira.util
Class DelimeterInserter.Builder
java.lang.Object
com.atlassian.jira.util.DelimeterInserter.Builder
- Enclosing class:
DelimeterInserter
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setCaseInsensitive(boolean caseInsensitive) Whether matching is case insensitive.setConsideredWhitespace(String consideredWhitespace) The String characters that can be considered whitespace ALONG with Character.isWhiteSpace().setEndDelimeter(String endDelimeter) The delimeter to use as around the end of a term.setFrontDelimeter(String frontDelimeter) The delimeter to use as around the front of a term.setPrefixMode(boolean prefixMode) Whether a match must be made on word boundaries.setPrefixNonRepeatableMatch(boolean prefixNonRepeatableMatch) Whether a match is always prefix of a word.
-
Method Details
-
setFrontDelimeter
The delimeter to use as around the front of a term. -
setEndDelimeter
The delimeter to use as around the end of a term. -
setConsideredWhitespace
The String characters that can be considered whitespace ALONG with Character.isWhiteSpace(). -
setPrefixMode
Whether a match must be made on word boundaries. True by default. -
setCaseInsensitive
Whether matching is case insensitive. True by default. -
setPrefixNonRepeatableMatch
Whether a match is always prefix of a word. Looking for "ga" in "gagal" only first "ga" will be matched. Works only when prefixMode = true. False by default. -
build
-