|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISerializer
Abstract class for serializing objects. $Id: ISerializer.java,v 1.3 2005/04/07 17:28:07 supermarti Exp $
Method Summary | |
---|---|
java.lang.Object |
deSerialize(java.lang.Class root,
java.io.InputStreamReader reader)
Reads an object of class root from a source |
void |
serialize(java.lang.Object object,
java.io.OutputStreamWriter writer)
Serializes an object. |
Method Detail |
---|
void serialize(java.lang.Object object, java.io.OutputStreamWriter writer) throws SerializationException
object
- The object to serialize.writer
- The destination where the serialized object will br writen to.
java.io.IOException
SerializationException
java.lang.Object deSerialize(java.lang.Class root, java.io.InputStreamReader reader) throws SerializationException
root
from a source
root
- the object class to readreader
- the source to read from
SerializationException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |