local.tomas.expr.eval
Class Like
java.lang.Object
local.tomas.expr.eval.Like
public class Like
- extends Object
Evaluator for LIKE operator.
- Author:
- tomas.teubner
|
Method Summary |
static boolean |
check(String str,
String pattern)
Check if string is LIKE a pattern. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
check
public static boolean check(String str,
String pattern)
- Check if string is LIKE a pattern.
- Parameters:
str - a stringpattern - a LIKE pattern
- Returns:
- true if string matches the pattern
Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.