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