|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.avis.util.Wildcard
public final class Wildcard
Generates regex patterns that match Unix-style wildcards * and ?. Currently handles * and ? by generating regex equivalents.
| Method Summary | |
|---|---|
static Pattern |
toPattern(String wildcard)
Generate a patten matcher for a wildcard expression. |
static Pattern |
toPattern(String wildcard,
int flags)
Generate a patten matcher for a wildcard expression. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Pattern toPattern(String wildcard)
wildcard - The wildcard expression.
public static Pattern toPattern(String wildcard,
int flags)
wildcard - The wildcard expression.flags - The patten flags (e.g Pattern.CASE_INSENSITIVE).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||