|
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 |
java.lang.Objectjava.io.OutputStream
oracle.adfnmc.java.io.ObjectOutputStream
public class ObjectOutputStream
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
Fields inherited from interface oracle.adfnmc.java.io.ObjectStreamConstants |
---|
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING |
Constructor Summary | |
---|---|
ObjectOutputStream(java.io.OutputStream output)
|
Method Summary | |
---|---|
void |
defaultWriteObject()
Default method to write objects into the receiver. |
protected boolean |
enableReplaceObject(boolean enable)
|
void |
write(byte[] buffer)
Writes the entire contents of the byte array buffer to this ObjectOutputStream. |
void |
write(byte[] buffer,
int offset,
int length)
Writes length bytes from the byte array buffer starting at offset
offset to the ObjectOutputStream. |
void |
write(int value)
Write one byte ( value ) into the receiver's underlying stream. |
void |
writeBoolean(boolean value)
Write primitive data of type boolean ( value )into the receiver's underlying stream. |
void |
writeByte(int value)
Write primitive data of type byte ( value )into the receiver's underlying stream. |
void |
writeChar(int value)
Write primitive data of type char ( value )into the receiver's underlying stream. |
void |
writeChars(java.lang.String value)
Write a String as a sequence of char, as primitive data ( value ) into the receiver's underlying stream. |
void |
writeDouble(double value)
Write primitive data of type double ( value )into the receiver's underlying stream. |
void |
writeFloat(float value)
Write primitive data of type float ( value )into the receiver's underlying stream. |
void |
writeInt(int value)
Write primitive data of type int ( value )into the receiver's underlying stream. |
void |
writeLong(long value)
Write primitive data of type long ( value )into the receiver's underlying stream. |
void |
writeObject(java.lang.Object obj)
Writes the specified object obj to this ObjectOutput. |
void |
writeShort(int value)
Write primitive data of type short ( value )into the receiver's underlying stream. |
void |
writeUTF(java.lang.String value)
Write primitive data of type String ( value ) in UTF format into the receiver's underlying stream. |
Methods inherited from class java.io.OutputStream |
---|
close, flush |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.adfnmc.java.io.ObjectOutput |
---|
close, flush |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
Constructor Detail |
---|
public ObjectOutputStream(java.io.OutputStream output) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void write(int value) throws java.io.IOException
value
) into the receiver's underlying stream.
write
in interface java.io.DataOutput
write
in interface ObjectOutput
write
in class java.io.OutputStream
value
- The primitive data to write. Only the lower byte is written.
java.io.IOException
- If an IO exception happened when writing the byte.public void write(byte[] buffer) throws java.io.IOException
buffer
to this ObjectOutputStream.
write
in interface java.io.DataOutput
write
in interface ObjectOutput
write
in class java.io.OutputStream
buffer
- the buffer to be written
java.io.IOException
- If an error occurs attempting to write to this ObjectOutputStream.public void write(byte[] buffer, int offset, int length) throws java.io.IOException
length
bytes
from the byte array buffer
starting at offset
offset
to the ObjectOutputStream.
write
in interface java.io.DataOutput
write
in interface ObjectOutput
write
in class java.io.OutputStream
buffer
- the buffer to be writtenoffset
- offset in buffer to get byteslength
- number of bytes in buffer to write
java.io.IOException
- If an error occurs attempting to write to this OutputStream.public void writeBoolean(boolean value) throws java.io.IOException
value
)into the receiver's underlying stream.
writeBoolean
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeByte(int value) throws java.io.IOException
value
)into the receiver's underlying stream.
writeByte
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeChar(int value) throws java.io.IOException
value
)into the receiver's underlying stream.
writeChar
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeChars(java.lang.String value) throws java.io.IOException
value
) into the receiver's underlying stream.
writeChars
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeDouble(double value) throws java.io.IOException
value
)into the receiver's underlying stream.
writeDouble
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeFloat(float value) throws java.io.IOException
value
)into the receiver's underlying stream.
writeFloat
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeInt(int value) throws java.io.IOException
value
)into the receiver's underlying stream.
writeInt
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeLong(long value) throws java.io.IOException
value
)into the receiver's underlying stream.
writeLong
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeShort(int value) throws java.io.IOException
value
)into the receiver's underlying stream.
writeShort
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void writeObject(java.lang.Object obj)
ObjectOutput
obj
to this ObjectOutput.
writeObject
in interface ObjectOutput
obj
- the object to be writtenpublic void writeUTF(java.lang.String value) throws java.io.IOException
value
) in UTF format into the receiver's underlying stream.
writeUTF
in interface java.io.DataOutput
value
- The primitive data to write
java.io.IOException
- If an IO exception happened when writing the primitive data.public void defaultWriteObject() throws java.io.IOException
java.io.IOException
- If an IO error occurs attempting to write the object dataObjectInputStream.defaultReadObject()
protected boolean enableReplaceObject(boolean enable)
|
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 |