类 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.SerializerINSTANCE
-
构造器概要
构造器 构造器 说明 Serializer()
-
方法概要
修饰符和类型 方法 说明 ServerPingread(com.google.gson.stream.JsonReader in)voidwrite(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
-
-