public interface ISerializer
ISerializationManager2#serializeObject(Object, lumis.portal.serialization.persistency.IDirectory, String, String, Serializer)
,
ISerializationManager2#deserializeObject(Class, lumis.portal.serialization.persistency.IDirectory, String, String, Serializer, boolean)
Modifier and Type | Method and Description |
---|---|
<T> T |
fromInputStream(Class<T> objectClass,
String alias,
InputStream inputStream)
Deserializes an object from an input stream.
|
void |
toOutputStream(Object o,
OutputStream outputStream,
String alias)
Serializes an object to an output stream.
|
void toOutputStream(Object o, OutputStream outputStream, String alias) throws SerializationException
object
- the object.outputStream
- the output stream.alias
- the alias for the object.SerializationException
- if an error occurred during serialization.<T> T fromInputStream(Class<T> objectClass, String alias, InputStream inputStream) throws SerializationException
T
- the object type.objectClass
- the object type class.alias
- the object alias.inputStream
- the input stream.SerializationException
- if an error occurred during deserialization.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.