|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--de.jface.remind.io.Serializer
Class Serializer
of project RemotePostIt.
| Constructor Summary | |
Serializer()
|
|
| Method Summary | |
abstract java.util.Collection |
deserialize(java.io.InputStream in)
Decodes the data, read from the InputStream into a Collection. |
static Serializer |
getInstance()
Returns a new instance of the Serializer. |
abstract java.io.InputStream |
serialize(java.util.Collection notes)
Returns a Stream, containing the serialized notes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Serializer()
| Method Detail |
public abstract java.util.Collection deserialize(java.io.InputStream in)
throws SerializerException
in - the InputStream that is decoded into the Collection of
Note objects.
public abstract java.io.InputStream serialize(java.util.Collection notes)
throws SerializerException
notes - A Collection. Only Note objects are considered in
writing to the InputStream.public static Serializer getInstance()
null if the
Serializer could not be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||