public final class StorageConfiguration extends Object
Represents a configuration of a database. Includes all settings which have to be made when it comes to the creation of the database.
Modifier and Type | Class and Description |
---|---|
static class |
StorageConfiguration.Paths
Paths for a
Storage . |
Constructor and Description |
---|
StorageConfiguration(File paramFile)
Constructor with the path to be set.
|
Modifier and Type | Method and Description |
---|---|
static StorageConfiguration |
deserialize(File pFile)
Generate a StorageConfiguration out of a file.
|
boolean |
equals(Object pObj) |
int |
hashCode() |
static void |
serialize(StorageConfiguration pConfig)
Serializing a
StorageConfiguration to a json file. |
String |
toString() |
public final File mFile
public StorageConfiguration(File paramFile)
paramFile
- file to be setpublic static void serialize(StorageConfiguration pConfig) throws TTIOException
StorageConfiguration
to a json file.pConfig
- to be serializedTTIOException
public static StorageConfiguration deserialize(File pFile) throws TTIOException
pFile
- where the StorageConfiguration lies in as jsonStorageConfiguration
classTTIOException
Copyright © 2013. All Rights Reserved.