Package eu.binjr.sources.netdata.api
Class Chart.ChartTypeEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<Chart.ChartTypeEnum>
eu.binjr.sources.netdata.api.Chart.ChartTypeEnum.Adapter
- Enclosing class:
Chart.ChartTypeEnum
public static class Chart.ChartTypeEnum.Adapter
extends com.google.gson.TypeAdapter<Chart.ChartTypeEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, Chart.ChartTypeEnum enumeration) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, Chart.ChartTypeEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<Chart.ChartTypeEnum>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<Chart.ChartTypeEnum>- Throws:
IOException
-