Package ch.njol.util
Class EnumTypeAdapter<T extends Enum<T>>
java.lang.Object
com.google.gson.TypeAdapter<T>
ch.njol.util.EnumTypeAdapter<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Field Details
-
factory
public static final com.google.gson.TypeAdapterFactory factory
-
-
Constructor Details
-
EnumTypeAdapter
-
-
Method Details
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<T extends Enum<T>>
- Throws:
IOException
-
write
- Specified by:
write
in classcom.google.gson.TypeAdapter<T extends Enum<T>>
- Throws:
IOException
-