Package com.basiscomponents.db
Class DataRowQueryMatcher
- java.lang.Object
-
- com.basiscomponents.db.DataRowQueryMatcher
-
public class DataRowQueryMatcher extends Object
-
-
Constructor Summary
Constructors Constructor Description DataRowQueryMatcher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Boolean
matches(String statement, DataRow datarow)
static Boolean
matches(String statement, DataRow datarow, boolean caseSensitive, boolean trimmed)
-
-
-
Method Detail
-
matches
public static Boolean matches(String statement, DataRow datarow) throws Exception
- Throws:
Exception
-
matches
public static Boolean matches(String statement, DataRow datarow, boolean caseSensitive, boolean trimmed) throws Exception
- Parameters:
stmt
- : the statement, syntax as in a WHERE clause of an SQL statementdr
- : the DataRow to examine against the query clause- Returns:
- Boolean if the datarow matches the statement
- Throws:
Exception
-
-