|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.flexdock.perspective.persist.DefaultFilePersister
public class DefaultFilePersister
Constructor Summary | |
---|---|
DefaultFilePersister()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFilePersister()
Method Detail |
---|
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.
store
in interface Persister
out
- OutputStream
to persist perspectiveInfo to.info
- data object to be persisted
true
when there was no problem with persisting the perspectiveInfo object.
java.io.IOException
- in case of input/output problem.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |