Package com.jidesoft.utils
Class AbstractWildcardSupport
java.lang.Object
com.jidesoft.utils.AbstractWildcardSupport
- All Implemented Interfaces:
WildcardSupport,Serializable
- Direct Known Subclasses:
DefaultWildcardSupport
public abstract class AbstractWildcardSupport
extends Object
implements WildcardSupport, Serializable
Abstract implementation of
WildcardSupport. It implements the convert method but leave the other three
methods defining the wildcards to the subclass.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jidesoft.utils.WildcardSupport
getOneOrMoreQuantifier, getZeroOrMoreQuantifier, getZeroOrOneQuantifier
-
Constructor Details
-
AbstractWildcardSupport
public AbstractWildcardSupport()
-
-
Method Details
-
convert
Description copied from interface:WildcardSupportConverts a string with wildcards to a regular express that is compatible withPattern. If the string has no wildcard, the same string will be returned.- Specified by:
convertin interfaceWildcardSupport- Parameters:
s- a string with wildcards.- Returns:
- a regular express that is compatible with
Pattern.
-