public abstract class AbstractWildcardSupport extends Object implements WildcardSupport, 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 |
|---|---|
String |
convert(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, waitgetOneOrMoreQuantifier, getZeroOrMoreQuantifier, getZeroOrOneQuantifierpublic String convert(String s)
WildcardSupportPattern.
If the string has no wildcard, the same string will be returned.convert in interface WildcardSupports - a string with wildcards.Pattern.Copyright © 2017. All rights reserved.