public abstract class AbstractWildcardSupport extends java.lang.Object implements WildcardSupport, java.io.Serializable
WildcardSupport
. It implements the convert method but leave the other three
methods defining the wildcards to the subclass.Constructor and Description |
---|
AbstractWildcardSupport() |
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 . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOneOrMoreQuantifier, getZeroOrMoreQuantifier, getZeroOrOneQuantifier
public java.lang.String convert(java.lang.String s)
WildcardSupport
Pattern
.
If the string has no wildcard, the same string will be returned.convert
in interface WildcardSupport
s
- a string with wildcards.Pattern
.