|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputStream
Used by a Message
object for writing, i.e. serializing.
An OutputStream
can write the following basic types of data:
Message
Method Summary | |
---|---|
void |
writeBoolean(boolean b)
Writes a boolean value to the output stream. |
void |
writeByteArray(byte[] buffer,
int offset,
int length)
Writes length bytes to the output stream from the given
byte array, starting from position offset
in the array. |
void |
writeChar(char c)
Writes a char value to the output stream. |
void |
writeDouble(double d)
Writes a double value to the output stream. |
void |
writeFloat(float f)
Writes a float value to the output stream. |
void |
writeInt(int i)
Writes an int value to the output stream. |
void |
writeLong(long l)
Writes a long value to the output stream. |
void |
writeShort(short s)
Writes a short value to the output stream. |
void |
writeString(java.lang.String str)
Writes a java.lang.String to the output stream. |
Method Detail |
---|
void writeShort(short s) throws SoamException
short
value to the output stream.
s
- The short to be written to the output stream.
SoamException
void writeInt(int i) throws SoamException
int
value to the output stream.
i
- The integer to be written to the output stream.
SoamException
void writeLong(long l) throws SoamException
long
value to the output stream.
l
- The long integer to be written to the output stream.
SoamException
void writeFloat(float f) throws SoamException
float
value to the output stream.
f
- The floating point number to be written to the output stream.
SoamException
void writeDouble(double d) throws SoamException
double
value to the output stream.
d
- The long floating point number to be written to the output stream.
SoamException
void writeBoolean(boolean b) throws SoamException
boolean
value to the output stream.
b
- The boolean value to be written to the output stream.
SoamException
void writeChar(char c) throws SoamException
char
value to the output stream.
c
- The character to be written to the output stream.
SoamException
void writeString(java.lang.String str) throws SoamException
java.lang.String
to the output stream.
str
- The string to be written to the output stream.
SoamException
void writeByteArray(byte[] buffer, int offset, int length) throws SoamException
length
bytes to the output stream from the given
byte
array, starting from position offset
in the array.
buffer
- The byte array to be written to the output stream.offset
- The position in the byte array from which to start writing.length
- The number of bytes to write.
SoamException
|
Version 5.1 Date Modified: -DREL_DATE=Apr 28 2011 Platform Computing. Accelerating Intelligence(TM). Copyright (C) 2001-2009 Platform Computing Corporation. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |