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