Class StringFormTypeAdapter<T>
java.lang.Object
ca.spottedleaf.yamlconfig.adapter.TypeAdapter<T,String>
ca.spottedleaf.yamlconfig.adapter.generic.StringFormTypeAdapter<T>
- Direct Known Subclasses:
CalenderDurationTypeAdapter, DurationTypeAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Tdeserialize(TypeAdapterRegistry registry, Object input, Type type) abstract TfromString(String value) final Stringserialize(TypeAdapterRegistry registry, T value, Type type) abstract String
-
Constructor Details
-
StringFormTypeAdapter
public StringFormTypeAdapter()
-
-
Method Details
-
deserialize
- Specified by:
deserializein classTypeAdapter<T,String>
-
serialize
- Specified by:
serializein classTypeAdapter<T,String>
-
fromString
-
toString
-