|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.relique.jdbc.csv.CsvDriver
This class implements the Driver interface for the CsvJdbc driver.
Field Summary | |
static java.lang.String |
CHARSET
|
static java.lang.String |
DEFAULT_EXTENSION
|
static char |
DEFAULT_SEPARATOR
|
static boolean |
DEFAULT_SUPPRESS
|
static java.lang.String |
FILE_EXTENSION
|
private java.util.Properties |
info
|
static java.lang.String |
SEPARATOR
|
static java.lang.String |
SUPPRESS_HEADERS
|
private static java.lang.String |
URL_PREFIX
|
Constructor Summary | |
CsvDriver()
|
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 CsvDriver object |
int |
getMinorVersion()
Gets the minorVersion attribute of the CsvDriver object |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info)
Gets the propertyInfo attribute of the CsvDriver object |
boolean |
jdbcCompliant()
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_EXTENSION
public static final char DEFAULT_SEPARATOR
public static final boolean DEFAULT_SUPPRESS
public static final java.lang.String FILE_EXTENSION
public static final java.lang.String SEPARATOR
public static final java.lang.String SUPPRESS_HEADERS
public static final java.lang.String CHARSET
private static final java.lang.String URL_PREFIX
private java.util.Properties info
Constructor Detail |
public CsvDriver()
Method Detail |
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
getPropertyInfo
in interface java.sql.Driver
url
- Description of Parameterinfo
- Description of Parameter
java.sql.SQLException
- Description of Exceptionpublic int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
public java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
connect
in interface java.sql.Driver
url
- Description of Parameterinfo
- Description of Parameter
java.sql.SQLException
- Description of Exceptionpublic boolean acceptsURL(java.lang.String url) throws java.sql.SQLException
acceptsURL
in interface java.sql.Driver
url
- Description of Parameter
java.sql.SQLException
- Description of Exceptionpublic boolean jdbcCompliant()
jdbcCompliant
in interface java.sql.Driver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |