public class HostTypeAdapter extends com.google.gson.TypeAdapter<Host>
| Constructor and Description |
|---|
HostTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Host |
read(com.google.gson.stream.JsonReader reader) |
void |
write(com.google.gson.stream.JsonWriter out,
Host host) |
public void write(com.google.gson.stream.JsonWriter out,
Host host)
throws IOException
write in class com.google.gson.TypeAdapter<Host>IOExceptionpublic Host read(com.google.gson.stream.JsonReader reader) throws IOException
read in class com.google.gson.TypeAdapter<Host>IOExceptionCopyright © 2017. All rights reserved.