@Extension(value="compactedjava") @Singleton public class CompactedJavaSerialization extends Object implements Serialization
| 构造器和说明 |
|---|
CompactedJavaSerialization() |
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectInput |
deserialize(InputStream is)
create deserializer
|
String |
getContentType()
get content type
|
byte |
getContentTypeId()
get content type id
|
ObjectOutput |
serialize(OutputStream out)
create serializer
|
public byte getContentTypeId()
SerializationgetContentTypeId 在接口中 Serializationpublic String getContentType()
SerializationgetContentType 在接口中 Serializationpublic ObjectOutput serialize(OutputStream out) throws IOException
Serializationserialize 在接口中 SerializationIOExceptionpublic ObjectInput deserialize(InputStream is) throws IOException
Serializationdeserialize 在接口中 SerializationIOExceptionCopyright © 2018. All rights reserved.