Class MailMessageSerializer

java.lang.Object
com.earth2me.essentials.config.serializers.MailMessageSerializer
All Implemented Interfaces:
org.spongepowered.configurate.serialize.TypeSerializer<MailMessage>

public class MailMessageSerializer extends Object implements org.spongepowered.configurate.serialize.TypeSerializer<MailMessage>
  • Constructor Details

    • MailMessageSerializer

      public MailMessageSerializer()
  • Method Details

    • deserialize

      public MailMessage deserialize(Type type, org.spongepowered.configurate.ConfigurationNode node) throws org.spongepowered.configurate.serialize.SerializationException
      Specified by:
      deserialize in interface org.spongepowered.configurate.serialize.TypeSerializer<MailMessage>
      Throws:
      org.spongepowered.configurate.serialize.SerializationException
    • serialize

      public void serialize(Type type, @Nullable MailMessage obj, org.spongepowered.configurate.ConfigurationNode node) throws org.spongepowered.configurate.serialize.SerializationException
      Specified by:
      serialize in interface org.spongepowered.configurate.serialize.TypeSerializer<MailMessage>
      Throws:
      org.spongepowered.configurate.serialize.SerializationException