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