|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectWriter
Specifies methods for writing objects to an unerlying
Writer
or OutputStream
object.
This interface contains a strict subset of the methods specified
in ObjectOutput
, making it easy to adapt classes that
already implement ObjectOutput
to become implementors
of this interface.
Method Summary | |
---|---|
void |
close()
Closes the underlying stream or Writer of this
ObjectWriter object. |
void |
writeObject(Object obj)
Writes the specified object to the underlying stream or Writer . |
Method Detail |
---|
void close() throws IOException
Writer
of this
ObjectWriter
object.
IOException
void writeObject(Object obj) throws IOException
Writer
.
IOException
- if the underlying Writer
or
output stream throws an IOException
|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |