public class JavaSerialization extends Object implements Serialization
| 构造器和说明 |
|---|
JavaSerialization() |
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectInput |
deserialize(URL url,
InputStream is)
create deserializer
|
String |
getContentType()
get content type
|
byte |
getContentTypeId()
get content type id
|
ObjectOutput |
serialize(URL url,
OutputStream out)
create serializer
|
public byte getContentTypeId()
SerializationgetContentTypeId 在接口中 Serializationpublic String getContentType()
SerializationgetContentType 在接口中 Serializationpublic ObjectOutput serialize(URL url, OutputStream out) throws IOException
Serializationserialize 在接口中 SerializationIOExceptionpublic ObjectInput deserialize(URL url, InputStream is) throws IOException
Serializationdeserialize 在接口中 SerializationIOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.