public enum Database extends Enum<Database>
Enum Constant and Description |
---|
HSQL_FILE
File-based Java Database
|
HSQL_MEM
In-Memory Java Database
|
MSACCESS
MSAccess Database
|
Modifier and Type | Method and Description |
---|---|
String |
getJdbcDriver() |
String |
getJdbcUrl() |
static Database |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Database[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Database HSQL_FILE
public static final Database HSQL_MEM
public static final Database MSACCESS
public static Database[] values()
for (Database c : Database.values()) System.out.println(c);
public static Database valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getJdbcDriver()
public String getJdbcUrl()
Copyright © 2018 Ken Händel. All rights reserved.