org.quartz.impl.jdbcjobstore
Class Util

java.lang.Object
  |
  +--org.quartz.impl.jdbcjobstore.Util

public final class Util
extends java.lang.Object

This class contains utility functions for use in all delegate classes.

Author:
Jeffrey Wescott

Constructor Summary
Util()
           
 
Method Summary
static java.lang.String rtp(java.lang.String query, java.lang.String tablePrefix)
           Replace the table prefix in a query by replacing any occurrences of "{0}" with the table prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

rtp

public static final java.lang.String rtp(java.lang.String query,
                                         java.lang.String tablePrefix)

Replace the table prefix in a query by replacing any occurrences of "{0}" with the table prefix.

Parameters:
query - the unsubstitued query
query - the table prefix
Returns:
the query, with proper table prefix substituted

Quartz Project Page