Constructor and Description |
---|
DefaultFilePersister() |
Modifier and Type | Method and Description |
---|---|
PerspectiveModel |
load(java.io.InputStream in)
Deserializes
PerspectiveInfo from the supplied data stream. |
boolean |
store(java.io.OutputStream out,
PerspectiveModel info)
Serializes
PerspectiveInfo to the supplied data stream. |
public PerspectiveModel load(java.io.InputStream in) throws java.io.IOException, PersistenceException
Persister
PerspectiveInfo
from the supplied data stream.load
in interface Persister
in
- InputStream
to load perspectiveInfo from.true
when there was no problem with persisting the perspectiveInfo object.java.io.IOException
- in case of input/output problem.PersistenceException
public boolean store(java.io.OutputStream out, PerspectiveModel info) throws java.io.IOException
Persister
PerspectiveInfo
to the supplied data stream.