@SPI(scope=FRAMEWORK) public interface MultipleSerialization
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
deserialize(URL url,
String serializeType,
Class<?> clz,
InputStream os) |
void |
serialize(URL url,
String serializeType,
Class<?> clz,
Object obj,
OutputStream os) |
void serialize(URL url, String serializeType, Class<?> clz, Object obj, OutputStream os) throws IOException
IOExceptionObject deserialize(URL url, String serializeType, Class<?> clz, InputStream os) throws IOException, ClassNotFoundException
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.