Uses of Class
org.apache.commons.text.StrMatcher
Packages that use StrMatcher
-
Uses of StrMatcher in org.apache.commons.text
Subclasses of StrMatcher in org.apache.commons.textModifier and TypeClassDescription(package private) static final classDeprecated.Class used to define a character for matching purposes.(package private) static final classDeprecated.Class used to define a set of characters for matching purposes.(package private) static final classDeprecated.Class used to match no characters.(package private) static final classDeprecated.Class used to define a set of characters for matching purposes.(package private) static final classDeprecated.Class used to match whitespace as per trim().Fields in org.apache.commons.text declared as StrMatcherModifier and TypeFieldDescriptionprivate static final StrMatcherStrMatcher.COMMA_MATCHERDeprecated.Matches the comma character.static final StrMatcherStrSubstitutor.DEFAULT_PREFIXDeprecated.Constant for the default variable prefix.static final StrMatcherStrSubstitutor.DEFAULT_SUFFIXDeprecated.Constant for the default variable suffix.static final StrMatcherStrSubstitutor.DEFAULT_VALUE_DELIMITERDeprecated.Constant for the default value delimiter of a variable.private StrMatcherStrTokenizer.delimMatcherDeprecated.The delimiter matcher.private static final StrMatcherStrMatcher.DOUBLE_QUOTE_MATCHERDeprecated.Matches the double quote character.private StrMatcherStrTokenizer.ignoredMatcherDeprecated.The ignored matcher.private static final StrMatcherStrMatcher.NONE_MATCHERDeprecated.Matches no characters.private StrMatcherStrSubstitutor.prefixMatcherDeprecated.Stores the variable prefix.private static final StrMatcherStrMatcher.QUOTE_MATCHERDeprecated.Matches the single or double quote character.private StrMatcherStrTokenizer.quoteMatcherDeprecated.The quote matcher.private static final StrMatcherStrMatcher.SINGLE_QUOTE_MATCHERDeprecated.Matches the double quote character.private static final StrMatcherStrMatcher.SPACE_MATCHERDeprecated.Matches the space character.private static final StrMatcherStrMatcher.SPLIT_MATCHERDeprecated.Matches the same characters as StringTokenizer, namely space, tab, newline, form feed.private StrMatcherStrSubstitutor.suffixMatcherDeprecated.Stores the variable suffix.private static final StrMatcherStrMatcher.TAB_MATCHERDeprecated.Matches the tab character.private static final StrMatcherStrMatcher.TRIM_MATCHERDeprecated.Matches the String trim() whitespace characters.private StrMatcherStrTokenizer.trimmerMatcherDeprecated.The trimmer matcher.private StrMatcherStrSubstitutor.valueDelimiterMatcherDeprecated.Stores the default variable value delimiter.Methods in org.apache.commons.text that return StrMatcherModifier and TypeMethodDescriptionstatic StrMatcherStrMatcher.charMatcher(char ch) Deprecated.Creates a matcher from a character.static StrMatcherStrMatcher.charSetMatcher(char... chars) Deprecated.Creates a matcher from a set of characters.static StrMatcherStrMatcher.charSetMatcher(String chars) Deprecated.Creates a matcher from a string representing a set of characters.static StrMatcherStrMatcher.commaMatcher()Deprecated.Returns a matcher which matches the comma character.static StrMatcherStrMatcher.doubleQuoteMatcher()Deprecated.Returns a matcher which matches the double quote character.StrTokenizer.getDelimiterMatcher()Deprecated.Gets the field delimiter matcher.StrTokenizer.getIgnoredMatcher()Deprecated.Gets the ignored character matcher.StrTokenizer.getQuoteMatcher()Deprecated.Gets the quote matcher currently in use.StrTokenizer.getTrimmerMatcher()Deprecated.Gets the trimmer character matcher.StrSubstitutor.getValueDelimiterMatcher()Deprecated.Gets the variable default value delimiter matcher currently in use.StrSubstitutor.getVariablePrefixMatcher()Deprecated.Gets the variable prefix matcher currently in use.StrSubstitutor.getVariableSuffixMatcher()Deprecated.Gets the variable suffix matcher currently in use.static StrMatcherStrMatcher.noneMatcher()Deprecated.Matches no characters.static StrMatcherStrMatcher.quoteMatcher()Deprecated.Returns a matcher which matches the single or double quote character.static StrMatcherStrMatcher.singleQuoteMatcher()Deprecated.Returns a matcher which matches the single quote character.static StrMatcherStrMatcher.spaceMatcher()Deprecated.Returns a matcher which matches the space character.static StrMatcherStrMatcher.splitMatcher()Deprecated.Matches the same characters as StringTokenizer, namely space, tab, newline and form feed.static StrMatcherStrMatcher.stringMatcher(String str) Deprecated.Creates a matcher from a string.static StrMatcherStrMatcher.tabMatcher()Deprecated.Returns a matcher which matches the tab character.static StrMatcherStrMatcher.trimMatcher()Deprecated.Matches the String trim() whitespace characters.Methods in org.apache.commons.text with parameters of type StrMatcherModifier and TypeMethodDescriptionbooleanStrBuilder.contains(StrMatcher matcher) Deprecated.Tests if the string builder contains a string matched using the specified matcher.StrBuilder.deleteAll(StrMatcher matcher) Deprecated.Deletes all parts of the builder that the matcher matches.StrBuilder.deleteFirst(StrMatcher matcher) Deprecated.Deletes the first match within the builder using the specified matcher.intStrBuilder.indexOf(StrMatcher matcher) Deprecated.Searches the string builder using the matcher to find the first match.intStrBuilder.indexOf(StrMatcher matcher, int startIndex) Deprecated.Searches the string builder using the matcher to find the first match searching from the given index.intStrBuilder.lastIndexOf(StrMatcher matcher) Deprecated.Searches the string builder using the matcher to find the last match.intStrBuilder.lastIndexOf(StrMatcher matcher, int startIndex) Deprecated.Searches the string builder using the matcher to find the last match searching from the given index.StrBuilder.replace(StrMatcher matcher, String replaceStr, int startIndex, int endIndex, int replaceCount) Deprecated.Advanced search and replaces within the builder using a matcher.StrBuilder.replaceAll(StrMatcher matcher, String replaceStr) Deprecated.Replaces all matches within the builder with the replace string.StrBuilder.replaceFirst(StrMatcher matcher, String replaceStr) Deprecated.Replaces the first match within the builder with the replace string.private StrBuilderStrBuilder.replaceImpl(StrMatcher matcher, String replaceStr, int from, int to, int replaceCount) Deprecated.Replaces within the builder using a matcher.StrTokenizer.setDelimiterMatcher(StrMatcher delim) Deprecated.Sets the field delimiter matcher.StrTokenizer.setIgnoredMatcher(StrMatcher ignored) Deprecated.Set the matcher for characters to ignore.StrTokenizer.setQuoteMatcher(StrMatcher quote) Deprecated.Set the quote matcher to use.StrTokenizer.setTrimmerMatcher(StrMatcher trimmer) Deprecated.Sets the matcher for characters to trim.StrSubstitutor.setValueDelimiterMatcher(StrMatcher valueDelimiterMatcher) Deprecated.Sets the variable default value delimiter matcher to use.StrSubstitutor.setVariablePrefixMatcher(StrMatcher prefixMatcher) Deprecated.Sets the variable prefix matcher currently in use.StrSubstitutor.setVariableSuffixMatcher(StrMatcher suffixMatcher) Deprecated.Sets the variable suffix matcher currently in use.Constructors in org.apache.commons.text with parameters of type StrMatcherModifierConstructorDescriptionStrSubstitutor(StrLookup<?> variableResolver, StrMatcher prefixMatcher, StrMatcher suffixMatcher, char escape) Deprecated.Constructs a new instance and initializes it.StrSubstitutor(StrLookup<?> variableResolver, StrMatcher prefixMatcher, StrMatcher suffixMatcher, char escape, StrMatcher valueDelimiterMatcher) Deprecated.Constructs 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.