|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectOutput
Streams to be used with serialization to write objects must implement this interface. ObjectOutputStream is one example.
ObjectOutputStream
,
ObjectInput
Method Summary | |
---|---|
void |
close()
Close this ObjectOutput. |
void |
flush()
Flush this ObjectOutput. |
void |
write(byte[] buffer)
Writes the entire contents of the byte array buffer to
this ObjectOutput. |
void |
write(byte[] buffer,
int offset,
int count)
Writes count bytes from this byte array
buffer starting at offset index to this
ObjectOutput. |
void |
write(int value)
Writes the specified int value to this ObjectOutput. |
void |
writeObject(java.lang.Object obj)
Writes the specified object obj to this ObjectOutput. |
Methods inherited from interface java.io.DataOutput |
---|
writeBoolean, writeByte, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Method Detail |
---|
void close() throws java.io.IOException
java.io.IOException
- If an error occurs attempting to close this ObjectOutput.void flush() throws java.io.IOException
java.io.IOException
- If an error occurs attempting to flush this ObjectOutput.void write(byte[] buffer) throws java.io.IOException
buffer
to
this ObjectOutput.
write
in interface java.io.DataOutput
buffer
- the buffer to be written
java.io.IOException
- If an error occurs attempting to write to this ObjectOutput.void write(byte[] buffer, int offset, int count) throws java.io.IOException
count
bytes
from this byte array
buffer
starting at offset index
to this
ObjectOutput.
write
in interface java.io.DataOutput
buffer
- the buffer to be writtenoffset
- offset in buffer to get bytescount
- number of bytes in buffer to write
java.io.IOException
- If an error occurs attempting to write to this ObjectOutput.void write(int value) throws java.io.IOException
value
to this ObjectOutput.
write
in interface java.io.DataOutput
value
- the int to be written
java.io.IOException
- If an error occurs attempting to write to this ObjectOutput.void writeObject(java.lang.Object obj) throws java.io.IOException
obj
to this ObjectOutput.
obj
- the object to be written
java.io.IOException
- If an error occurs attempting to write to this ObjectOutput.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |