|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ObjectStore
interface contains methods that are to
be implemented by a persistence framework that can traverse objects
whose persistent data are represented by public read-writable
JavaBean properties.
Method Summary | |
java.lang.Object |
load(java.net.URL url)
Creates a new instance of an object based on its peristent state saved at the specified URL . |
boolean |
open(java.net.URL url,
java.lang.Object object)
Initializes the specified object based on its persistent state that is saved at the specified URL . |
boolean |
save(java.net.URL url,
java.lang.Object object)
Marshals the persistent properties of the specified object and saves the persistent form at the specified URL . |
Method Detail |
public java.lang.Object load(java.net.URL url) throws java.io.IOException
URL
.
java.io.IOException
public boolean open(java.net.URL url, java.lang.Object object) throws java.io.IOException
URL
. This has the effect
of reloading or reverting an object's in-memory state.
java.io.IOException
public boolean save(java.net.URL url, java.lang.Object object) throws java.io.IOException
URL
.
java.io.IOException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.