dbms
Class DBMSDrivers
java.lang.Object
dbms.DBMSDrivers
- All Implemented Interfaces:
- DBMSConstants
public class DBMSDrivers
- extends java.lang.Object
- implements DBMSConstants
Methods to determine the list of available DBMS drivers
Fields inherited from interface dbms.DBMSConstants |
CLOSE_BRACE, COLON_SEPARATOR, COMMA, DOUBLE_QUOTE, DRIVER_LOCATION, EMPTY_STRING, FILE_SEPARATOR, LIMITED_DATABASE, NEW_LINE, OPEN_BRACE, QUOTE_CHARACTER, SINGLE_QUOTE, SPACE, USER_DIR |
Method Summary |
(package private) DBMSSql |
getCommand(int driver)
|
(package private) java.lang.String[] |
getVendors()
Gets a dynamic list of vendors. |
(package private) void |
update()
Updates the current list of Drivers inside of sqlDrivers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECTORY_EMPTY
public static final java.lang.String DIRECTORY_EMPTY
- See Also:
- Constant Field Values
INI
public static final java.lang.String INI
- See Also:
- Constant Field Values
sqlDrivers
private java.util.ArrayList<DBMSSql> sqlDrivers
DBMSDrivers
public DBMSDrivers()
update
void update()
throws java.lang.Exception
- Updates the current list of Drivers inside of sqlDrivers.
- Throws:
java.lang.Exception
getCommand
DBMSSql getCommand(int driver)
- Parameters:
driver
- an ordinal location of the driver needed
- Returns:
- DBMSSql driver object
getVendors
java.lang.String[] getVendors()
throws java.lang.Exception
- Gets a dynamic list of vendors.
- Returns:
- A String Array of Vendor Names;
- Throws:
java.lang.Exception