Package com.twitter.clientlib.model
Class Granularity.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<Granularity>
-
- com.twitter.clientlib.model.Granularity.Adapter
-
- Enclosing class:
- Granularity
public static class Granularity.Adapter extends com.google.gson.TypeAdapter<Granularity>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Granularityread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, Granularity enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, Granularity enumeration) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<Granularity>- Throws:
IOException
-
read
public Granularity read(com.google.gson.stream.JsonReader jsonReader) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<Granularity>- Throws:
IOException
-
-