|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Accessor
This is an access abstraction.
You are at the mercy of the implementation in terms of multithreading.
Version History
EPG - Initial - 13 JAN 05
| Method Summary | |
|---|---|
void |
doneWithRead(java.io.InputStream ios)
Declare you are done reading from the input stream. |
void |
doneWithWrite(java.io.OutputStream oos)
Declare you are done reading from the input stream. |
java.io.InputStream |
openForRead()
Open the item for read. |
java.io.OutputStream |
openForWrite()
Open the item for writing. |
| Method Detail |
|---|
java.io.InputStream openForRead()
throws ThingsException
ThingsException - for any problem.
void doneWithRead(java.io.InputStream ios)
throws ThingsException
ios - the stream you were given when you openForRead(). You may close the stream already, if you want.
ThingsException - for any problem.
java.io.OutputStream openForWrite()
throws ThingsException
ThingsException - for any problem.
void doneWithWrite(java.io.OutputStream oos)
throws ThingsException
oos - the stream you were given when you openForWrite(). You may flush and close the stream already, if you want.
ThingsException - for any problem.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||