Package org.hihn.listenbrainz
Class CreateCoverArtGrid.BackgroundEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<CreateCoverArtGrid.BackgroundEnum>
org.hihn.listenbrainz.CreateCoverArtGrid.BackgroundEnum.Adapter
- Enclosing class:
CreateCoverArtGrid.BackgroundEnum
public static class CreateCoverArtGrid.BackgroundEnum.Adapter
extends com.google.gson.TypeAdapter<CreateCoverArtGrid.BackgroundEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread
(com.google.gson.stream.JsonReader jsonReader) void
write
(com.google.gson.stream.JsonWriter jsonWriter, CreateCoverArtGrid.BackgroundEnum 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, CreateCoverArtGrid.BackgroundEnum enumeration) throws IOException - Specified by:
write
in classcom.google.gson.TypeAdapter<CreateCoverArtGrid.BackgroundEnum>
- Throws:
IOException
-
read
public CreateCoverArtGrid.BackgroundEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
read
in classcom.google.gson.TypeAdapter<CreateCoverArtGrid.BackgroundEnum>
- Throws:
IOException
-