public static class EnumAdapterFactory.EnumTypeAdapter<T>
extends com.google.gson.TypeAdapter<T>
Constructor and Description |
---|
EnumTypeAdapter(Class<T> classOf) |
Modifier and Type | Method and Description |
---|---|
T |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
T value) |
public void write(com.google.gson.stream.JsonWriter out, T value) throws IOException
write
in class com.google.gson.TypeAdapter<T>
IOException
public T read(com.google.gson.stream.JsonReader in) throws IOException
read
in class com.google.gson.TypeAdapter<T>
IOException
Copyright © 2016–2017. All rights reserved.