org.flexdock.perspective.persist
| Constructor and Description |
|---|
DefaultFilePersister() |
| Modifier and Type | Method and Description |
|---|---|
PerspectiveModel |
load(InputStream in)
Deserializes
PerspectiveInfo from the supplied data stream. |
boolean |
store(OutputStream out,
PerspectiveModel info)
Serializes
PerspectiveInfo to the supplied data stream. |
public PerspectiveModel load(InputStream in) throws IOException, PersistenceException
PersisterPerspectiveInfo from the supplied data stream.load in interface Persisterin - InputStream to load perspectiveInfo from.true when there was no problem with persisting the perspectiveInfo object.IOException - in case of input/output problem.PersistenceExceptionpublic boolean store(OutputStream out, PerspectiveModel info) throws IOException
PersisterPerspectiveInfo to the supplied data stream.store in interface Persisterout - OutputStream to persist perspectiveInfo to.info - data object to be persistedtrue when there was no problem with persisting the perspectiveInfo object.IOException - in case of input/output problem.