类 EnumeByStringAdapter<E extends net.apexes.commons.lang.Enume<String>>
- java.lang.Object
-
- com.google.gson.TypeAdapter<E>
-
- net.apexes.commons.json.gson.EnumeByStringAdapter<E>
-
-
构造器概要
构造器 构造器 说明 EnumeByStringAdapter(Class<E> enumeClass)
-
-
-
方法详细资料
-
write
public void write(com.google.gson.stream.JsonWriter out, E value) throws IOException- 指定者:
write在类中com.google.gson.TypeAdapter<E extends net.apexes.commons.lang.Enume<String>>- 抛出:
IOException
-
read
public E read(com.google.gson.stream.JsonReader in) throws IOException
- 指定者:
read在类中com.google.gson.TypeAdapter<E extends net.apexes.commons.lang.Enume<String>>- 抛出:
IOException
-
-