|
org.netbeans.modules.db/1 1.44.1 30 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.db.explorer.JDBCDriver
public final class JDBCDriver
Encapsulates a JDBC driver.
| Method Summary | |
|---|---|
static JDBCDriver |
create(String name,
String displayName,
String clazz,
URL[] urls)
Creates a new JDBCDriver instance. |
String |
getClassName()
Returns the JDBC driver class name. |
String |
getDisplayName()
Returns the display name of the driver (used for example to display the driver in the UI). |
Driver |
getDriver()
Get a reference to the underlying java.sql.Driver for this JDBCDriver. |
String |
getName()
Return the programmatic driver name. |
URL[] |
getURLs()
Returns the array of the JDBC driver files URLs. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static JDBCDriver create(String name,
String displayName,
String clazz,
URL[] urls)
name - the programmatic name of the driver; must not be null.displayName - the display name of the driver (used for example to display the driver in the UI); must not be null.clazz - the JDBC driver class; must not be null.urls - the array of the JDBC driver files URLs; must not be null.
NullPointerException - if any of the parameters is null.public URL[] getURLs()
public String getClassName()
public String getDisplayName()
public String getName()
public Driver getDriver()
throws DatabaseException
DatabaseException - if there was an error trying to get the driver instancepublic String toString()
toString in class Object
|
org.netbeans.modules.db/1 1.44.1 30 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||