| Modifier and Type | Field and Description |
|---|---|
| private static final AbstractStringMatcher. | COMMA_MATCHER
Matches the comma character. |
| private static final AbstractStringMatcher. | DOUBLE_QUOTE_MATCHER
Matches the double quote character. |
| public static final StringMatcherFactory | INSTANCE
Defines the singleton for this class. |
| private static final AbstractStringMatcher. | NONE_MATCHER
Matches no characters. |
| private static final AbstractStringMatcher. | QUOTE_MATCHER
Matches the single or double quote character. |
| private static final AbstractStringMatcher. | SINGLE_QUOTE_MATCHER
Matches the double quote character. |
| private static final AbstractStringMatcher. | SPACE_MATCHER
Matches the space character. |
| private static final AbstractStringMatcher. | SPLIT_MATCHER
Matches the same characters as StringTokenizer, namely space, tab, newline, form feed. |
| private static final AbstractStringMatcher. | TAB_MATCHER
Matches the tab character. |
| private static final AbstractStringMatcher. | TRIM_MATCHER
Matches the String trim() whitespace characters. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public StringMatcher | Returns: a matcher that matches all of the given matchers in order.the matcher. stringMatchers)Creates a matcher that matches all of the given matchers in order. |
| public StringMatcher | Returns: a new Matcher for the given char.the character to match, must not be null. ch)Constructor that creates a matcher from a character. |
| public StringMatcher | Returns: a new matcher for the given char[].the characters to match, null or empty matches nothing. chars)Constructor that creates a matcher from a set of characters. |
| public StringMatcher | Returns: a new Matcher for the given characters.the characters to match, null or empty matches nothing. chars)Creates a matcher from a string representing a set of characters. |
| public StringMatcher | |
| public StringMatcher | Returns: a matcher for a double quote.Returns a matcher which matches the double quote character. |
| public StringMatcher | |
| public StringMatcher | Returns: a matcher for a single or double quote.Returns a matcher which matches the single or double quote character. |
| public StringMatcher | Returns: a matcher for a single quote.Returns a matcher which matches the single quote character. |
| public StringMatcher | |
| public StringMatcher | Returns: The split matcher.Matches the same characters as StringTokenizer, namely space, tab, newline and form feed. |
| public StringMatcher | Returns: a new Matcher for the given String.the string to match, null or empty matches nothing. chars)Creates a matcher from a string. |
| public StringMatcher | Returns: a new Matcher for the given String.the string to match, null or empty matches nothing. str)Creates a matcher from a string. |
| public StringMatcher | |
| public StringMatcher |
| COMMA_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches the comma character. | |
| DOUBLE_QUOTE_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches the double quote character. | |
| INSTANCE | back to summary |
|---|---|
| public static final StringMatcherFactory INSTANCE Defines the singleton for this class. | |
| NONE_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches no characters. | |
| QUOTE_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches the single or double quote character. | |
| SINGLE_QUOTE_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches the double quote character. | |
| SPACE_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches the space character. | |
| SPLIT_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches the same characters as StringTokenizer, namely space, tab, newline, form feed. | |
| TAB_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches the tab character. | |
| TRIM_MATCHER | back to summary |
|---|---|
| private static final AbstractStringMatcher. Matches the String trim() whitespace characters. | |
| StringMatcherFactory | back to summary |
|---|---|
| private StringMatcherFactory() No need to build instances for now. | |
| andMatcher | back to summary |
|---|---|
| public StringMatcher andMatcher(final StringMatcher... stringMatchers) Creates a matcher that matches all of the given matchers in order.
| |
| charMatcher | back to summary |
|---|---|
| public StringMatcher charMatcher(final char ch) Constructor that creates a matcher from a character.
| |
| charSetMatcher | back to summary |
|---|---|
| public StringMatcher charSetMatcher(final char... chars) Constructor that creates a matcher from a set of characters.
| |
| charSetMatcher | back to summary |
|---|---|
| public StringMatcher charSetMatcher(final String chars) Creates a matcher from a string representing a set of characters.
| |
| commaMatcher | back to summary |
|---|---|
| public StringMatcher commaMatcher() Returns a matcher which matches the comma character.
| |
| doubleQuoteMatcher | back to summary |
|---|---|
| public StringMatcher doubleQuoteMatcher() Returns a matcher which matches the double quote character.
| |
| noneMatcher | back to summary |
|---|---|
| public StringMatcher noneMatcher() Matches no characters.
| |
| quoteMatcher | back to summary |
|---|---|
| public StringMatcher quoteMatcher() Returns a matcher which matches the single or double quote character.
| |
| singleQuoteMatcher | back to summary |
|---|---|
| public StringMatcher singleQuoteMatcher() Returns a matcher which matches the single quote character.
| |
| spaceMatcher | back to summary |
|---|---|
| public StringMatcher spaceMatcher() Returns a matcher which matches the space character.
| |
| splitMatcher | back to summary |
|---|---|
| public StringMatcher splitMatcher() Matches the same characters as StringTokenizer, namely space, tab, newline and form feed.
| |
| stringMatcher | back to summary |
|---|---|
| public StringMatcher stringMatcher(final char... chars) Creates a matcher from a string.
| |
| stringMatcher | back to summary |
|---|---|
| public StringMatcher stringMatcher(final String str) Creates a matcher from a string.
| |
| tabMatcher | back to summary |
|---|---|
| public StringMatcher tabMatcher() Returns a matcher which matches the tab character.
| |
| trimMatcher | back to summary |
|---|---|
| public StringMatcher trimMatcher() Matches the String trim() whitespace characters.
| |