public interface ViewSerializer
Modifier and Type | Method and Description |
---|---|
View |
readView(java.io.ObjectInputStream in)
Reads and returns a view.
|
void |
writeView(View view,
java.io.ObjectOutputStream out)
Writes a view to a stream.
|
void writeView(View view, java.io.ObjectOutputStream out) throws java.io.IOException
view
- the view to writeout
- the stream on which to write the viewjava.io.IOException
- if there is a stream errorView readView(java.io.ObjectInputStream in) throws java.io.IOException
writeView(net.infonode.docking.View, java.io.ObjectOutputStream)
method.
Note that the view property values are read automatically, so this method should not read them.
This method should return null if the serialized view can't be resolved.in
- the stream from which to read the view statejava.io.IOException
- if there is a stream error