frysk.expr
Class FQIdentPatternGlob
java.lang.Object
frysk.expr.FQIdentPatternGlob
- All Implemented Interfaces:
- FQIdentPattern
class FQIdentPatternGlob
- extends Object
- implements FQIdentPattern
Pattern for part of FQ identifier specified by a glob.
pattern
private final Pattern pattern
glob
private final String glob
FQIdentPatternGlob
public FQIdentPatternGlob(String glob)
cardinality
public int cardinality()
- Description copied from interface:
FQIdentPattern
- Cardinality of this pattern. See various CARD_ constants for
possible values.
- Specified by:
cardinality
in interface FQIdentPattern
matches
public boolean matches(String symbolName)
- Description copied from interface:
FQIdentPattern
- Whether given string matches this pattern. STR can be a symbol
name, soname, etc.
- Specified by:
matches
in interface FQIdentPattern
toString
public String toString()
- Overrides:
toString
in class Object