java.lang.Objectorg.objectweb.telosys.util.serial.FileSerializer
File serializer
Constructor Summary | |
FileSerializer(java.lang.String sFileName)
Constructor |
Method Summary | |
java.lang.Object |
read()
Unserializes an object by reading the file defined by the constructor |
void |
write(java.lang.Object obj)
Serializes the given object in the file defined by the constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileSerializer(java.lang.String sFileName)
sFileName
- the file where to serialize the given objectMethod Detail |
public void write(java.lang.Object obj) throws TelosysException
obj
-
TelosysException
public java.lang.Object read() throws TelosysException
TelosysException