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