Package | Description |
---|---|
org.apache.commons.lang3.text |
Provides classes for handling and manipulating text, partly as an extension to
java.text . |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
StrMatcher.CharMatcher
Deprecated.
Class used to define a character for matching purposes.
|
(package private) static class |
StrMatcher.CharSetMatcher
Deprecated.
Class used to define a set of characters for matching purposes.
|
(package private) static class |
StrMatcher.NoMatcher
Deprecated.
Class used to match no characters.
|
(package private) static class |
StrMatcher.StringMatcher
Deprecated.
Class used to define a set of characters for matching purposes.
|
(package private) static class |
StrMatcher.TrimMatcher
Deprecated.
Class used to match whitespace as per trim().
|
Modifier and Type | Field and Description |
---|---|
private static StrMatcher |
StrMatcher.COMMA_MATCHER
Deprecated.
Matches the comma character.
|
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.
|
private StrMatcher |
StrTokenizer.delimMatcher
Deprecated.
The delimiter matcher
|
private static StrMatcher |
StrMatcher.DOUBLE_QUOTE_MATCHER
Deprecated.
Matches the double quote character.
|
private StrMatcher |
StrTokenizer.ignoredMatcher
Deprecated.
The ignored matcher
|
private static StrMatcher |
StrMatcher.NONE_MATCHER
Deprecated.
Matches no characters.
|
private StrMatcher |
StrSubstitutor.prefixMatcher
Deprecated.
Stores the variable prefix.
|
private static StrMatcher |
StrMatcher.QUOTE_MATCHER
Deprecated.
Matches the single or double quote character.
|
private StrMatcher |
StrTokenizer.quoteMatcher
Deprecated.
The quote matcher
|
private static StrMatcher |
StrMatcher.SINGLE_QUOTE_MATCHER
Deprecated.
Matches the double quote character.
|
private static StrMatcher |
StrMatcher.SPACE_MATCHER
Deprecated.
Matches the space character.
|
private static StrMatcher |
StrMatcher.SPLIT_MATCHER
Deprecated.
Matches the same characters as StringTokenizer,
namely space, tab, newline, formfeed.
|
private StrMatcher |
StrSubstitutor.suffixMatcher
Deprecated.
Stores the variable suffix.
|
private static StrMatcher |
StrMatcher.TAB_MATCHER
Deprecated.
Matches the tab character.
|
private static StrMatcher |
StrMatcher.TRIM_MATCHER
Deprecated.
Matches the String trim() whitespace characters.
|
private StrMatcher |
StrTokenizer.trimmerMatcher
Deprecated.
The trimmer matcher
|
private StrMatcher |
StrSubstitutor.valueDelimiterMatcher
Deprecated.
Stores the default variable value delimiter
|
Modifier and Type | Method and Description |
---|---|
static StrMatcher |
StrMatcher.charMatcher(char ch)
Deprecated.
Constructor that creates a matcher from a character.
|
static StrMatcher |
StrMatcher.charSetMatcher(char... chars)
Deprecated.
Constructor that creates a matcher from a set of characters.
|
static StrMatcher |
StrMatcher.charSetMatcher(java.lang.String chars)
Deprecated.
Constructor that 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 formfeed.
|
static StrMatcher |
StrMatcher.stringMatcher(java.lang.String str)
Deprecated.
Constructor that 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.
|
Modifier and Type | Method and 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,
java.lang.String replaceStr,
int startIndex,
int endIndex,
int replaceCount)
Deprecated.
Advanced search and replaces within the builder using a matcher.
|
StrBuilder |
StrBuilder.replaceAll(StrMatcher matcher,
java.lang.String replaceStr)
Deprecated.
Replaces all matches within the builder with the replace string.
|
StrBuilder |
StrBuilder.replaceFirst(StrMatcher matcher,
java.lang.String replaceStr)
Deprecated.
Replaces the first match within the builder with the replace string.
|
private StrBuilder |
StrBuilder.replaceImpl(StrMatcher matcher,
java.lang.String replaceStr,
int from,
int to,
int replaceCount)
Deprecated.
Replaces within the builder using a matcher.
|
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.
|
Constructor and 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(java.lang.String input,
StrMatcher delim)
Deprecated.
Constructs a tokenizer splitting using the specified delimiter matcher.
|
StrTokenizer(java.lang.String input,
StrMatcher delim,
StrMatcher quote)
Deprecated.
Constructs a tokenizer splitting using the specified delimiter matcher
and handling quotes using the specified quote matcher.
|