public class FileAdapter
extends com.google.gson.TypeAdapter<java.io.File>
| Constructor and Description |
|---|
FileAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
read(com.google.gson.stream.JsonReader json) |
void |
write(com.google.gson.stream.JsonWriter json,
java.io.File value) |
public java.io.File read(com.google.gson.stream.JsonReader json)
throws java.io.IOException
read in class com.google.gson.TypeAdapter<java.io.File>java.io.IOExceptionpublic void write(com.google.gson.stream.JsonWriter json,
java.io.File value)
throws java.io.IOException
write in class com.google.gson.TypeAdapter<java.io.File>java.io.IOException