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