T
- public interface Serialization<T>
Encapsulates a Serializer
/Deserializer
pair.
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(Class<?> c)
Allows clients to test whether this
Serialization
supports the given class. |
Deserializer<T> |
getDeserializer(Class<T> c) |
Serializer<T> |
getSerializer(Class<T> c) |
boolean accept(Class<?> c)
Serialization
supports the given class.Serializer<T> getSerializer(Class<T> c)
Serializer
for the given class.Deserializer<T> getDeserializer(Class<T> c)
Deserializer
for the given class.Copyright © 2009 The Apache Software Foundation