Package de.xima.fc.helper
Class GsonJavaTimeAdapter.YearAdapter
- java.lang.Object
 - 
- com.google.gson.TypeAdapter<Year>
 - 
- de.xima.fc.helper.GsonJavaTimeAdapter.YearAdapter
 
 
 
- 
- Enclosing class:
 - GsonJavaTimeAdapter
 
public static class GsonJavaTimeAdapter.YearAdapter extends com.google.gson.TypeAdapter<Year>
Type adapter forYear. Serialized representation is a JSON object with theyearproperty.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description YearAdapter() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Yearread(com.google.gson.stream.JsonReader in)voidwrite(com.google.gson.stream.JsonWriter out, Year value) 
 - 
 
- 
- 
Method Detail
- 
read
public Year read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
 readin classcom.google.gson.TypeAdapter<Year>- Throws:
 IOException
 
- 
write
public void write(com.google.gson.stream.JsonWriter out, Year value) throws IOException- Specified by:
 writein classcom.google.gson.TypeAdapter<Year>- Throws:
 IOException
 
 - 
 
 -