Uses of Class
org.apache.commons.text.StrMatcher
Package | Description |
---|---|
org.apache.commons.text |
Basic classes for text handling.
|
-
Uses of StrMatcher in org.apache.commons.text
Fields in org.apache.commons.text declared as StrMatcher Modifier and Type Field Description static StrMatcher
StrSubstitutor. DEFAULT_PREFIX
Deprecated.Constant for the default variable prefix.static StrMatcher
StrSubstitutor. DEFAULT_SUFFIX
Deprecated.Constant for the default variable suffix.static StrMatcher
StrSubstitutor. DEFAULT_VALUE_DELIMITER
Deprecated.Constant for the default value delimiter of a variable.Methods in org.apache.commons.text that return StrMatcher Modifier and Type Method Description static StrMatcher
StrMatcher. charMatcher(char ch)
Deprecated.Creates a matcher from a character.static StrMatcher
StrMatcher. charSetMatcher(char... chars)
Deprecated.Creates a matcher from a set of characters.static StrMatcher
StrMatcher. charSetMatcher(String chars)
Deprecated.Creates a matcher from a string representing a set of characters.static StrMatcher
StrMatcher. commaMatcher()
Deprecated.Returns a matcher which matches the comma character.static StrMatcher
StrMatcher. doubleQuoteMatcher()
Deprecated.Returns a matcher which matches the double quote character.StrMatcher
StrTokenizer. getDelimiterMatcher()
Deprecated.Gets the field delimiter matcher.StrMatcher
StrTokenizer. getIgnoredMatcher()
Deprecated.Gets the ignored character matcher.StrMatcher
StrTokenizer. getQuoteMatcher()
Deprecated.Gets the quote matcher currently in use.StrMatcher
StrTokenizer. getTrimmerMatcher()
Deprecated.Gets the trimmer character matcher.StrMatcher
StrSubstitutor. getValueDelimiterMatcher()
Deprecated.Gets the variable default value delimiter matcher currently in use.StrMatcher
StrSubstitutor. getVariablePrefixMatcher()
Deprecated.Gets the variable prefix matcher currently in use.StrMatcher
StrSubstitutor. getVariableSuffixMatcher()
Deprecated.Gets the variable suffix matcher currently in use.static StrMatcher
StrMatcher. noneMatcher()
Deprecated.Matches no characters.static StrMatcher
StrMatcher. quoteMatcher()
Deprecated.Returns a matcher which matches the single or double quote character.static StrMatcher
StrMatcher. singleQuoteMatcher()
Deprecated.Returns a matcher which matches the single quote character.static StrMatcher
StrMatcher. spaceMatcher()
Deprecated.Returns a matcher which matches the space character.static StrMatcher
StrMatcher. splitMatcher()
Deprecated.Matches the same characters as StringTokenizer, namely space, tab, newline and form feed.static StrMatcher
StrMatcher. stringMatcher(String str)
Deprecated.Creates a matcher from a string.static StrMatcher
StrMatcher. tabMatcher()
Deprecated.Returns a matcher which matches the tab character.static StrMatcher
StrMatcher. trimMatcher()
Deprecated.Matches the String trim() whitespace characters.Methods in org.apache.commons.text with parameters of type StrMatcher Modifier and Type Method Description boolean
StrBuilder. contains(StrMatcher matcher)
Deprecated.Checks if the string builder contains a string matched using the specified matcher.StrBuilder
StrBuilder. deleteAll(StrMatcher matcher)
Deprecated.Deletes all parts of the builder that the matcher matches.StrBuilder
StrBuilder. deleteFirst(StrMatcher matcher)
Deprecated.Deletes the first match within the builder using the specified matcher.int
StrBuilder. indexOf(StrMatcher matcher)
Deprecated.Searches the string builder using the matcher to find the first match.int
StrBuilder. indexOf(StrMatcher matcher, int startIndex)
Deprecated.Searches the string builder using the matcher to find the first match searching from the given index.int
StrBuilder. lastIndexOf(StrMatcher matcher)
Deprecated.Searches the string builder using the matcher to find the last match.int
StrBuilder. lastIndexOf(StrMatcher matcher, int startIndex)
Deprecated.Searches the string builder using the matcher to find the last match searching from the given index.StrBuilder
StrBuilder. replace(StrMatcher matcher, String replaceStr, int startIndex, int endIndex, int replaceCount)
Deprecated.Advanced search and replaces within the builder using a matcher.StrBuilder
StrBuilder. replaceAll(StrMatcher matcher, String replaceStr)
Deprecated.Replaces all matches within the builder with the replace string.StrBuilder
StrBuilder. replaceFirst(StrMatcher matcher, String replaceStr)
Deprecated.Replaces the first match within the builder with the replace string.StrTokenizer
StrTokenizer. setDelimiterMatcher(StrMatcher delim)
Deprecated.Sets the field delimiter matcher.StrTokenizer
StrTokenizer. setIgnoredMatcher(StrMatcher ignored)
Deprecated.Set the matcher for characters to ignore.StrTokenizer
StrTokenizer. setQuoteMatcher(StrMatcher quote)
Deprecated.Set the quote matcher to use.StrTokenizer
StrTokenizer. setTrimmerMatcher(StrMatcher trimmer)
Deprecated.Sets the matcher for characters to trim.StrSubstitutor
StrSubstitutor. setValueDelimiterMatcher(StrMatcher valueDelimiterMatcher)
Deprecated.Sets the variable default value delimiter matcher to use.StrSubstitutor
StrSubstitutor. setVariablePrefixMatcher(StrMatcher prefixMatcher)
Deprecated.Sets the variable prefix matcher currently in use.StrSubstitutor
StrSubstitutor. setVariableSuffixMatcher(StrMatcher suffixMatcher)
Deprecated.Sets the variable suffix matcher currently in use.Constructors in org.apache.commons.text with parameters of type StrMatcher Constructor Description StrSubstitutor(StrLookup<?> variableResolver, StrMatcher prefixMatcher, StrMatcher suffixMatcher, char escape)
Deprecated.Creates a new instance and initializes it.StrSubstitutor(StrLookup<?> variableResolver, StrMatcher prefixMatcher, StrMatcher suffixMatcher, char escape, StrMatcher valueDelimiterMatcher)
Deprecated.Creates a new instance and initializes it.StrTokenizer(char[] input, StrMatcher delim)
Deprecated.Constructs a tokenizer splitting using the specified delimiter matcher.StrTokenizer(char[] input, StrMatcher delim, StrMatcher quote)
Deprecated.Constructs a tokenizer splitting using the specified delimiter matcher and handling quotes using the specified quote matcher.StrTokenizer(String input, StrMatcher delim)
Deprecated.Constructs a tokenizer splitting using the specified delimiter matcher.StrTokenizer(String input, StrMatcher delim, StrMatcher quote)
Deprecated.Constructs a tokenizer splitting using the specified delimiter matcher and handling quotes using the specified quote matcher.