public class SerializerSummary
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(java.lang.Object obj) |
void |
complete()
完成所有的CommonSerializer填充,关闭注册入口,开启功能
|
<T> T |
deserialize(java.io.InputStream in) |
static SerializerSummary |
getDefault() |
void |
remove(CommonSerializer serializer) |
void |
reset()
重置
|
<T> void |
serialize(T obj,
java.io.OutputStream out) |
static Serializer<java.lang.Object> |
wrap(CommonSerializer<?>... commonSerializers)
将一组serializer包装起来,会继承默认的
|
public static SerializerSummary getDefault()
public static Serializer<java.lang.Object> wrap(CommonSerializer<?>... commonSerializers)
public void remove(CommonSerializer serializer)
public void complete()
public void reset()
public <T> void serialize(T obj, java.io.OutputStream out) throws java.lang.Exception
java.lang.Exception
public <T> T deserialize(java.io.InputStream in) throws java.lang.Exception
java.lang.Exception
public boolean accept(java.lang.Object obj)