public class LocationAdapter
extends com.google.gson.TypeAdapter<org.bukkit.Location>
| Constructor and Description |
|---|
LocationAdapter() |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.Location |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
org.bukkit.Location location) |
public void write(com.google.gson.stream.JsonWriter jsonWriter,
org.bukkit.Location location)
throws java.io.IOException
write in class com.google.gson.TypeAdapter<org.bukkit.Location>java.io.IOExceptionpublic org.bukkit.Location read(com.google.gson.stream.JsonReader jsonReader)
throws java.io.IOException
read in class com.google.gson.TypeAdapter<org.bukkit.Location>java.io.IOException