Interface ConfigSerializer<T>

Type Parameters:
T - The type of the config
All Known Implementing Classes:
DefaultConfigSerializer

public interface ConfigSerializer<T>
Manages the serialization of a configuration file.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deserializes the config.
    void
    serialize(T config)
    Serializes the config.
  • Method Details

    • deserialize

      T deserialize()
      Deserializes the config.
      Returns:
      The deserialized config
    • serialize

      void serialize(T config)
      Serializes the config.
      Parameters:
      config - The config to be serialized.