Class MaterialTypeSerializer
java.lang.Object
org.spongepowered.configurate.serialize.ScalarSerializer<Material>
com.earth2me.essentials.config.serializers.MaterialTypeSerializer
- All Implemented Interfaces:
org.spongepowered.configurate.serialize.TypeSerializer<Material>
,org.spongepowered.configurate.serialize.TypeSerializer.Annotated<Material>
public class MaterialTypeSerializer
extends org.spongepowered.configurate.serialize.ScalarSerializer<Material>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.spongepowered.configurate.serialize.ScalarSerializer
org.spongepowered.configurate.serialize.ScalarSerializer.Annotated<V>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.spongepowered.configurate.serialize.ScalarSerializer
deserialize, deserialize, deserialize, deserialize, serialize, serialize, serialize, serializeToString, tryDeserialize, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.spongepowered.configurate.serialize.TypeSerializer.Annotated
emptyValue, emptyValue
-
Constructor Details
-
MaterialTypeSerializer
public MaterialTypeSerializer()
-
-
Method Details
-
deserialize
public Material deserialize(Type type, Object obj) throws org.spongepowered.configurate.serialize.SerializationException - Specified by:
deserialize
in classorg.spongepowered.configurate.serialize.ScalarSerializer<Material>
- Throws:
org.spongepowered.configurate.serialize.SerializationException
-
serialize
- Specified by:
serialize
in classorg.spongepowered.configurate.serialize.ScalarSerializer<Material>
-