Package ch.examzone.sebbb.model
Class Session.IntegrityEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<Session.IntegrityEnum>
ch.examzone.sebbb.model.Session.IntegrityEnum.Adapter
- Enclosing class:
Session.IntegrityEnum
public static class Session.IntegrityEnum.Adapter
extends com.google.gson.TypeAdapter<Session.IntegrityEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, Session.IntegrityEnum 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, Session.IntegrityEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<Session.IntegrityEnum>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<Session.IntegrityEnum>- Throws:
IOException
-