public class DefaultMultipleSerialization extends Object implements MultipleSerialization
| Constructor and Description |
|---|
DefaultMultipleSerialization() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(URL url,
String serializeType,
Class<?> clz,
InputStream os) |
void |
serialize(URL url,
String serializeType,
Class<?> clz,
Object obj,
OutputStream os) |
public void serialize(URL url, String serializeType, Class<?> clz, Object obj, OutputStream os) throws IOException
serialize in interface MultipleSerializationIOExceptionpublic Object deserialize(URL url, String serializeType, Class<?> clz, InputStream os) throws IOException, ClassNotFoundException
deserialize in interface MultipleSerializationIOExceptionClassNotFoundExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.