public static class CryptoAlgorithm.Adapter extends com.google.gson.TypeAdapter<CryptoAlgorithm>
| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
CryptoAlgorithm |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
CryptoAlgorithm enumeration) |
public void write(com.google.gson.stream.JsonWriter jsonWriter,
CryptoAlgorithm enumeration)
throws java.io.IOException
write in class com.google.gson.TypeAdapter<CryptoAlgorithm>java.io.IOExceptionpublic CryptoAlgorithm read(com.google.gson.stream.JsonReader jsonReader) throws java.io.IOException
read in class com.google.gson.TypeAdapter<CryptoAlgorithm>java.io.IOException