public final class DatabaseConfiguration extends Object
| Constructor and Description |
|---|
DatabaseConfiguration() |
DatabaseConfiguration(DatabaseConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDirectory()
Returns the path to the directory that contains the database.
|
DatabaseConfiguration |
setDirectory(String directory)
Set the canonical path of the directory to store the database in.
|
public DatabaseConfiguration()
public DatabaseConfiguration(@Nullable
DatabaseConfiguration config)
@NonNull public DatabaseConfiguration setDirectory(@NonNull String directory)
directory - the directoryIllegalStateException - if the directory does not exist anc cannot be created@NonNull public String getDirectory()
setDirectory below),
then it is the system default.