|
JIDE Common Layer 2.7.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jidesoft.utils.AbstractWildcardSupport
public abstract class AbstractWildcardSupport
Abstract implementation of WildcardSupport
. It implements the convert method but leave the other three
methods defining the wildcards to the subclass.
Constructor Summary | |
---|---|
AbstractWildcardSupport()
|
Method Summary | |
---|---|
java.lang.String |
convert(java.lang.String s)
Converts a string with wildcards to a regular express that is compatible with Pattern . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jidesoft.utils.WildcardSupport |
---|
getOneOrMoreQuantifier, getZeroOrMoreQuantifier, getZeroOrOneQuantifier |
Constructor Detail |
---|
public AbstractWildcardSupport()
Method Detail |
---|
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
.
|
JIDE Common Layer 2.7.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |