Package org.rusherhack.client.api.config
Class Configuration
java.lang.Object
org.rusherhack.client.api.config.Configuration
- Direct Known Subclasses:
JsonConfiguration
,TextConfiguration
Utility class for serializing and deserializing objects to and from disk
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Path
The directory where config files will be containedfinal org.rusherhack.core.logging.ILogger
Logger -
Constructor Summary
-
Method Summary
-
Field Details
-
CONFIG_DIRECTORY
The directory where config files will be contained -
logger
public final org.rusherhack.core.logging.ILogger loggerLogger
-
-
Constructor Details
-
Configuration
-
-
Method Details
-
write
public abstract void write(org.rusherhack.core.serialize.ISerializable<?> serializable) -
read
public abstract void read(org.rusherhack.core.serialize.ISerializable<?> serializable) -
getFile
-
createTempFile
-