|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Connector.DBType>
com.antelmann.sql.Connector.DBType
public static enum Connector.DBType
supported database types transparently supported by the Connector class
| Enum Constant Summary | |
|---|---|
Firebird
|
|
HSQLDB
|
|
JavaDB
|
|
MySQL
|
|
ODBC
|
|
SAPDB
|
|
SQLite
|
|
SQLServer
|
|
| Method Summary | |
|---|---|
static Connector.DBType |
fromString(String str)
makes a guess what type you may have meant; allows for a very loose way to enter a server type |
static Connector.DBType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Connector.DBType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Connector.DBType MySQL
public static final Connector.DBType SQLServer
public static final Connector.DBType JavaDB
public static final Connector.DBType HSQLDB
public static final Connector.DBType SQLite
public static final Connector.DBType SAPDB
public static final Connector.DBType Firebird
public static final Connector.DBType ODBC
| Method Detail |
|---|
public static Connector.DBType[] values()
for (Connector.DBType c : Connector.DBType.values()) System.out.println(c);
public static Connector.DBType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static Connector.DBType fromString(String str)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||