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