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