|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISerializer
Interface for an object serializer.
ISerializationManager2#serializeObject(Object, lumis.portal.serialization.persistency.IDirectory, String, String, Serializer)
,
ISerializationManager2#deserializeObject(Class, lumis.portal.serialization.persistency.IDirectory, String, String, Serializer, boolean)
Method Summary | ||
---|---|---|
|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |