|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IpOutputStream
The IpOutputStream interface specifies methods for
writing various types of data to a byte stream.
| Method Summary | |
|---|---|
void |
writeBoolean(boolean b)
Writes a boolean into the output stream. |
void |
writeByte(byte b)
Writes a byte into the output stream. |
void |
writeBytes(byte[] data)
Write an array of bytes into the output stream |
void |
writeChar(char c)
Writes a 16 bits char into the output stream. |
void |
writeDouble(double d)
Writes a double into the output stream. |
void |
writeFloat(float f)
Writes a float into the output stream. |
void |
writeInt(int i)
Writes an integer into the output stream. |
void |
writeLong(long l)
Writes a long into the output stream. |
void |
writeObject(java.lang.Object obj)
Write an object into the marshaller. |
void |
writeShort(short s)
Writes a short into the output stream. |
void |
writeString(java.lang.String s)
Writes a string into the output stream. |
| Method Detail |
|---|
void writeByte(byte b)
b - a byte
java.io.IOException - if an io exception occurs while writing
data to the streamvoid writeChar(char c)
c - a charvoid writeBoolean(boolean b)
b - a booleanvoid writeShort(short s)
s - a short
java.io.IOException - if an io exception occurs while writing
data to the streamvoid writeInt(int i)
i - an integervoid writeLong(long l)
l - a long
void writeFloat(float f)
throws java.io.IOException
f - a float
java.io.IOException - if an io exception occurs while writing
data to the stream
void writeDouble(double d)
throws java.io.IOException
d - a double
java.io.IOException - if an io exception occurs while writing
data to the streamvoid writeString(java.lang.String s)
s - a stringvoid writeBytes(byte[] data)
data - The array to write into the marshaller
void writeObject(java.lang.Object obj)
throws java.io.IOException
obj - The object to write into the marshaller
java.io.IOException - if an io exception occurs while writing
the object to the stream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||