|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the object for reading/writing the content of a persistent object from/to its associated file within the File Object Store. This interface is implemented by the FOS user that must provide it in order to define the exact storage structure of stored objects.
Method Summary | |
void |
readFile(java.io.ObjectInputStream ois,
FosAccess conn,
java.lang.Object ctxt)
Reads the content of a persistent object from the file represented by the given ObjectInputStream. |
void |
writeFile(java.io.ObjectOutputStream oos,
FosAccess conn,
java.lang.Object ctxt)
Writes the content of a persistent object to the file represented by the given ObjectOutputStream. |
Method Detail |
public void readFile(java.io.ObjectInputStream ois, FosAccess conn, java.lang.Object ctxt) throws java.lang.Exception
ois
- The ObjectInputStream representing the file from which to
read.conn
- The connection used to access the File Object Store.
java.lang.Exception
public void writeFile(java.io.ObjectOutputStream oos, FosAccess conn, java.lang.Object ctxt) throws java.lang.Exception
oos
- The ObjectOutputStream representing the file to which to
write.conn
- The connection used to access the File Object Store.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |