Class Configuration

java.lang.Object
org.rusherhack.client.api.config.Configuration
Direct Known Subclasses:
JsonConfiguration, TextConfiguration

public abstract class Configuration extends Object
Utility class for serializing and deserializing objects to and from disk
  • Field Details

    • CONFIG_DIRECTORY

      public static final Path CONFIG_DIRECTORY
      The directory where config files will be contained
    • logger

      public final org.rusherhack.core.logging.ILogger logger
      Logger
  • Constructor Details

    • Configuration

      public Configuration(File file)
  • 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

      public File getFile()
    • createTempFile

      protected File createTempFile()