org.webdocwf.util.i18njdbc
Class I18nDriver

java.lang.Object
  extended byorg.webdocwf.util.i18njdbc.I18nDriver
All Implemented Interfaces:
java.sql.Driver

public class I18nDriver
extends java.lang.Object
implements java.sql.Driver

This class implements the Driver interface for the I18nJdbc driver.

Author:
Zoran Milakovic, Zeljko Kovacevic

Field Summary
static java.lang.String CHARSET
           
static java.lang.String CREATE
           
static boolean DEBUG
           
static java.lang.String DEFAULT_CHARSET
           
static boolean DEFAULT_CREATE
           
static java.lang.String DEFAULT_EXTENSION
           
static java.lang.String DEFAULT_NAMECOLUMN
           
static java.lang.String DEFAULT_VALUECOLUMN
           
static java.lang.String FILE_EXTENSION
           
static java.lang.String FILE_NAME_EXT
           
static java.lang.String NAMECOLUMN
           
static java.lang.String VALUECOLUMN
           
static java.lang.String VARCHAR_TYPE
           
 
Constructor Summary
I18nDriver()
           
 
Method Summary
 boolean acceptsURL(java.lang.String url)
          Description of the Method
 java.sql.Connection connect(java.lang.String url, java.util.Properties info)
          Description of the Method
 int getMajorVersion()
          Gets the majorVersion attribute of the I18nJdbc object
 int getMinorVersion()
          Gets the minorVersion attribute of the I18nJdbc object
 java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info)
          Gets the propertyInfo attribute of the I18nJdbc object
 boolean jdbcCompliant()
          Description of the Method
static void log(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHARSET

public static final java.lang.String CHARSET
See Also:
Constant Field Values

NAMECOLUMN

public static final java.lang.String NAMECOLUMN
See Also:
Constant Field Values

VALUECOLUMN

public static final java.lang.String VALUECOLUMN
See Also:
Constant Field Values

CREATE

public static final java.lang.String CREATE
See Also:
Constant Field Values

FILE_EXTENSION

public static final java.lang.String FILE_EXTENSION
See Also:
Constant Field Values

DEFAULT_CHARSET

public static final java.lang.String DEFAULT_CHARSET
See Also:
Constant Field Values

DEFAULT_NAMECOLUMN

public static final java.lang.String DEFAULT_NAMECOLUMN
See Also:
Constant Field Values

DEFAULT_VALUECOLUMN

public static final java.lang.String DEFAULT_VALUECOLUMN
See Also:
Constant Field Values

DEFAULT_CREATE

public static final boolean DEFAULT_CREATE
See Also:
Constant Field Values

DEFAULT_EXTENSION

public static final java.lang.String DEFAULT_EXTENSION
See Also:
Constant Field Values

VARCHAR_TYPE

public static final java.lang.String VARCHAR_TYPE
See Also:
Constant Field Values

FILE_NAME_EXT

public static java.lang.String FILE_NAME_EXT

DEBUG

public static boolean DEBUG
Constructor Detail

I18nDriver

public I18nDriver()
Method Detail

getPropertyInfo

public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
                                                     java.util.Properties info)
                                              throws java.sql.SQLException
Gets the propertyInfo attribute of the I18nJdbc object

Specified by:
getPropertyInfo in interface java.sql.Driver
Parameters:
url - Description of Parameter
info - Description of Parameter
Returns:
The propertyInfo value
Throws:
java.sql.SQLException - Description of Exception
Since:

getMajorVersion

public int getMajorVersion()
Gets the majorVersion attribute of the I18nJdbc object

Specified by:
getMajorVersion in interface java.sql.Driver
Returns:
The majorVersion value
Since:

getMinorVersion

public int getMinorVersion()
Gets the minorVersion attribute of the I18nJdbc object

Specified by:
getMinorVersion in interface java.sql.Driver
Returns:
The minorVersion value
Since:

connect

public java.sql.Connection connect(java.lang.String url,
                                   java.util.Properties info)
                            throws java.sql.SQLException
Description of the Method

Specified by:
connect in interface java.sql.Driver
Parameters:
url - Description of Parameter
info - Description of Parameter
Returns:
Description of the Returned Value
Throws:
java.sql.SQLException - Description of Exception
Since:

acceptsURL

public boolean acceptsURL(java.lang.String url)
                   throws java.sql.SQLException
Description of the Method

Specified by:
acceptsURL in interface java.sql.Driver
Parameters:
url - Description of Parameter
Returns:
Description of the Returned Value
Throws:
java.sql.SQLException - Description of Exception
Since:

jdbcCompliant

public boolean jdbcCompliant()
Description of the Method

Specified by:
jdbcCompliant in interface java.sql.Driver
Returns:
Description of the Returned Value
Since:

log

public static void log(java.lang.String message)


Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.