public interface WildcardSupport
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(java.lang.String s)
Converts a string with wildcards to a regular express that is compatible with
Pattern . |
char |
getOneOrMoreQuantifier()
Gets the quantifier that indicates there is one or more of the preceding element.
|
char |
getZeroOrMoreQuantifier()
Gets the quantifier that indicates there is zero or more of the preceding element.
|
char |
getZeroOrOneQuantifier()
Gets the quantifier that indicates there is zero or one of the preceding element.
|
char getZeroOrOneQuantifier()
char getZeroOrMoreQuantifier()
char getOneOrMoreQuantifier()
java.lang.String convert(java.lang.String s)
Pattern
.
If the string has no wildcard, the same string will be returned.s
- a string with wildcards.Pattern
.