The matchOne method of the WildcardExpression Class contains the following signatures:
matchOne(WildcardExpression[] exprs, int ofs int len, String s)
matchOne(WildcardExpression[] exprs, Sting s)
Evaluates a list of expressions on a string.
public static int matchOne(WildcardExpression[] exprs, int ofs, int len, String s);
Returns the index of the expression that matched; returns -1 if no match occurred.
exprs | A list of expressions. |
ofs | The offset into the list to begin matching. |
len | The number of elements to match against. |
s | The string to evaluate the expressions on. |
Evaluates a list of expressions on a string.
public static int matchOne(WildcardExpression[] exprs, String s);
Returns the index of the expression that matched; returns -1 if no match occurred.
exprs | A list of expressions. |
s | The string to evaluate the expressions on. |