|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.impl.jdbcjobstore.Util
public final class Util
This class contains utility functions for use in all delegate classes.
Method Summary | |
---|---|
static void |
closeResultSet(java.sql.ResultSet rs)
Cleanup helper method that closes the given ResultSet
while ignoring any errors. |
static void |
closeStatement(java.sql.Statement statement)
Cleanup helper method that closes the given Statement
while ignoring any errors. |
static java.lang.String |
rtp(java.lang.String query,
java.lang.String tablePrefix,
java.lang.String schedNameLiteral)
Replace the table prefix in a query by replacing any occurrences of "{0}" with the table prefix. |
static void |
setBeanProps(java.lang.Object obj,
java.lang.String[] propNames,
java.lang.Object[] propValues)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String rtp(java.lang.String query, java.lang.String tablePrefix, java.lang.String schedNameLiteral)
Replace the table prefix in a query by replacing any occurrences of "{0}" with the table prefix.
query
- the unsubstitued querytablePrefix
- the table prefix
public static void closeResultSet(java.sql.ResultSet rs)
ResultSet
while ignoring any errors.
public static void closeStatement(java.sql.Statement statement)
Statement
while ignoring any errors.
public static void setBeanProps(java.lang.Object obj, java.lang.String[] propNames, java.lang.Object[] propValues) throws JobPersistenceException
JobPersistenceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |