|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of objects to read and writepublic interface FileHandler<T>
An object that can read and write objects to file.
| Method Summary | |
|---|---|
T |
read(java.io.InputStream is)
Read a T from the given stream. |
void |
write(java.io.OutputStream os,
T t)
Write a T to the given stream. |
| Method Detail |
|---|
T read(java.io.InputStream is)
throws java.io.IOException
is - the stream to read from
java.io.IOException - if reading fails
void write(java.io.OutputStream os,
T t)
throws java.io.IOException
os - the stream to write the object tot - the object to write
java.io.IOException - if writing fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||