Servertec
Foundation Classes
1.3.3 09/04/2005

stec.sfc.Win32
Class OdbcDataSource

java.lang.Object
  extended by stec.sfc.Win32.OdbcDataSource

public final class OdbcDataSource
extends java.lang.Object

Represents an ODBC Data Source.

Since:
1.3.0 10/19/2003

Field Summary
static java.lang.String FILE
          File Data Source.
static java.lang.String SYSTEM
          System Data Source.
static java.lang.String USER
          User Data Source.
 
Method Summary
 java.lang.String getDriver()
          Returns the name of the ODBC driver.
 java.lang.String getName()
          Returns the name of the Data Source.
 java.lang.String getType()
          Returns the type of the Data Source.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSTEM

public static final java.lang.String SYSTEM
System Data Source.

See Also:
Constant Field Values

USER

public static final java.lang.String USER
User Data Source.

See Also:
Constant Field Values

FILE

public static final java.lang.String FILE
File Data Source.

See Also:
Constant Field Values
Method Detail

getName

public final java.lang.String getName()
Returns the name of the Data Source.

Returns:
the name of the Data Source.

getDriver

public final java.lang.String getDriver()
Returns the name of the ODBC driver.

Returns:
the name of the ODBC driver.

getType

public final java.lang.String getType()
Returns the type of the Data Source.

Returns:
the type of the Data Source. System, User or File.

Servertec
Foundation Classes
1.3.3 09/04/2005

Copyright © 2001-2005 Servertec. All rights reserved.