类 ServerPing.Serializer
- java.lang.Object
-
- com.google.gson.TypeAdapter<ServerPing>
-
- cn.mcres.karlatemp.mxlib.module.fakeminecraftserver.model.ServerPing.Serializer
-
- 封闭类:
- ServerPing
public static class ServerPing.Serializer extends com.google.gson.TypeAdapter<ServerPing>
-
-
字段概要
字段 修饰符和类型 字段 说明 static ServerPing.Serializer
INSTANCE
-
构造器概要
构造器 构造器 说明 Serializer()
-
方法概要
修饰符和类型 方法 说明 ServerPing
read(com.google.gson.stream.JsonReader in)
void
write(com.google.gson.stream.JsonWriter out, ServerPing value)
-
-
-
字段详细资料
-
INSTANCE
public static final ServerPing.Serializer INSTANCE
-
-
方法详细资料
-
write
public void write(com.google.gson.stream.JsonWriter out, ServerPing value) throws IOException
- 指定者:
write
在类中com.google.gson.TypeAdapter<ServerPing>
- 抛出:
IOException
-
read
public ServerPing read(com.google.gson.stream.JsonReader in) throws IOException
- 指定者:
read
在类中com.google.gson.TypeAdapter<ServerPing>
- 抛出:
IOException
-
-