de.unidu.is.sql
Class SQLFormatterFactory

java.lang.Object
  extended byde.unidu.is.sql.SQLFormatterFactory

public class SQLFormatterFactory
extends java.lang.Object

A factory for SQLFormatter objects.

The factory easily allows for using different SQLFormatter classes for different databases, in case that the configuration file provided by the standard implementation is not sufficient.

Since:
2003-11-25
Version:
$Revision: 1.4 $, $Date: 2005/02/21 17:29:27 $
Author:
Henrik Nottelmann

Method Summary
static SQLFormatterFactory newFactory()
          Returns a new factory.
 SQLFormatter newFormatter(DB db)
          Returns a new SQL formatter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newFactory

public static SQLFormatterFactory newFactory()
Returns a new factory.

Returns:
new SQL formatter factory

newFormatter

public SQLFormatter newFormatter(DB db)
Returns a new SQL formatter.

Parameters:
db - database parameters
Returns:
SQL formatter for that database