|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectStream<T>
Reads Object
s from a stream.
ObjectStreamException
Method Summary | |
---|---|
void |
close()
Closes the ObjectStream and releases all allocated
resources. |
T |
read()
Returns the next object. |
void |
reset()
Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly. |
Method Detail |
---|
T read() throws IOException
IOException
void reset() throws IOException, UnsupportedOperationException
IOException
UnsupportedOperationException
void close() throws IOException
ObjectStream
and releases all allocated
resources. After close was called its not allowed to call
read or reset.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |