|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectReader
Specifies methods for reading objects from an underlying
Reader
or InputStream
object.
This interface contains a strict subset of the methods specified
in ObjectInput
, making it easy to adapt classes that
already implement ObjectInput
to become implementors
of this interface.
ObjectReaderFactory
Method Summary | |
---|---|
void |
close()
Closes the underlying stream or Reader of this
ObjectReader object. |
Object |
readObject()
Reads and returns the next object from the underlying Reader or stream. |
Method Detail |
---|
Object readObject() throws IOException
Reader
or stream.
Reader
or stream, or
null
if the end of the file or stream has been
reached
IOException
- if the underlying Reader
or
input stream throws an IOException
void close() throws IOException
Reader
of this
ObjectReader
object.
IOException
|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |