|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
org.omg.CORBA.portable.OutputStream
public abstract class OutputStream
This class is used to write CORBA IDL data types.
| Constructor Summary | |
|---|---|
OutputStream()
|
|
| Method Summary | |
|---|---|
abstract InputStream |
create_input_stream()
Returns an input stream with the same buffer. |
ORB |
orb()
Return the Object Request Broker that has created this stream. |
abstract void |
write_any(Any x)
Write CORBA Any. |
abstract void |
write_boolean_array(boolean[] x,
int ofs,
int len)
Write CORBA booelan[]. |
abstract void |
write_boolean(boolean x)
Write CORBA boolean. |
abstract void |
write_char_array(char[] chars,
int offset,
int length)
Write CORBA char[]. |
abstract void |
write_char(char x)
Write CORBA char. |
void |
write_Context(Context context,
ContextList contexts)
Should write a CORBA context to the output stream, but, following the 1.4 specification, it does not and must be overridden to get a functionality. |
abstract void |
write_double_array(double[] x,
int ofs,
int len)
Write CORBA double[]. |
abstract void |
write_double(double x)
Write CORBA double. |
void |
write_fixed(BigDecimal fixed)
Should write a BigDecimal number, but, following specification, it does not and must be overridden to get a functionality. |
abstract void |
write_float_array(float[] x,
int ofs,
int len)
Write CORBA float[]. |
abstract void |
write_float(float x)
Write CORBA float. |
abstract void |
write_long_array(int[] x,
int ofs,
int len)
Write CORBA long[]. |
abstract void |
write_long(int x)
Write CORBA long that is mapped into java int. |
abstract void |
write_longlong_array(long[] x,
int ofs,
int len)
Write CORBA long long []. |
abstract void |
write_longlong(long x)
Write CORBA long long that is mapped into
java long. |
abstract void |
write_Object(Object x)
Write CORBA (not java) Object. |
abstract void |
write_octet_array(byte[] x,
int ofs,
int len)
Write CORBA octet[]. |
abstract void |
write_octet(byte x)
Write CORBA octed that is mapped into java byte |
void |
write_Principal(Principal principal)
Deprecated. by CORBA 2.2 |
abstract void |
write_short_array(short[] x,
int ofs,
int len)
Write CORBA short[]. |
abstract void |
write_short(short x)
Write CORBA short. |
abstract void |
write_string(String x)
Write CORBA string. |
abstract void |
write_TypeCode(TypeCode x)
Write TypeCode. |
abstract void |
write_ulong_array(int[] x,
int ofs,
int len)
Write array of CORBA unsigned longs. |
abstract void |
write_ulong(int x)
Write unsigned CORBA long that is mapped into
java int. |
abstract void |
write_ulonglong_array(long[] x,
int ofs,
int len)
Write array of unsigned CORBA long-longs. |
abstract void |
write_ulonglong(long x)
Write unsigned CORBA long long that is mapped into
java long. |
abstract void |
write_ushort_array(short[] x,
int ofs,
int len)
Write array of unsigned CORBA shorts. |
abstract void |
write_ushort(short x)
Write unsigned CORBA short that is mapped into
java short. |
abstract void |
write_wchar_array(char[] chars,
int offset,
int length)
Write array of CORBA wchars. |
abstract void |
write_wchar(char x)
Write CORBA wchar that is mapped into
java char. |
abstract void |
write_wstring(String x)
Write CORBA wstring that is mapped into
java string. |
void |
write(int n)
Should write an byte (lower 8 bits) to the output stream, but, following specification, it does not and must be overridden to get a functionality. |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputStream()
| Method Detail |
|---|
public abstract InputStream create_input_stream()
public ORB orb()
public void write(int n)
throws IOException
write in class OutputStreamn - an integer to write.
NO_IMPLEMENT, - always.
IOException - in overriden methods.
public void write_Context(Context context,
ContextList contexts)
NO_IMPLEMENT, - always.public abstract void write_Object(Object x)
public void write_Principal(Principal principal)
principal - a Principal to write
NO_IMPLEMENT, - always.public abstract void write_TypeCode(TypeCode x)
public abstract void write_any(Any x)
Any.
public abstract void write_boolean(boolean x)
boolean.
public abstract void write_boolean_array(boolean[] x,
int ofs,
int len)
booelan[].
public abstract void write_char(char x)
char.
public abstract void write_char_array(char[] chars,
int offset,
int length)
char[].
public abstract void write_double(double x)
double.
public abstract void write_double_array(double[] x,
int ofs,
int len)
double[].
public void write_fixed(BigDecimal fixed)
fixed - a number to write
NO_IMPLEMENT, - always.public abstract void write_float(float x)
float.
public abstract void write_float_array(float[] x,
int ofs,
int len)
float[].
public abstract void write_long(int x)
long that is mapped into java int.
public abstract void write_long_array(int[] x,
int ofs,
int len)
long[].
public abstract void write_longlong(long x)
long long that is mapped into
java long.
public abstract void write_longlong_array(long[] x,
int ofs,
int len)
long long [].
public abstract void write_octet(byte x)
octed that is mapped into java byte
public abstract void write_octet_array(byte[] x,
int ofs,
int len)
octet[].
public abstract void write_short(short x)
short.
public abstract void write_short_array(short[] x,
int ofs,
int len)
short[].
public abstract void write_string(String x)
string.
public abstract void write_ulong(int x)
long that is mapped into
java int.
public abstract void write_ulong_array(int[] x,
int ofs,
int len)
public abstract void write_ulonglong(long x)
long long that is mapped into
java long.
public abstract void write_ulonglong_array(long[] x,
int ofs,
int len)
public abstract void write_ushort(short x)
short that is mapped into
java short.
public abstract void write_ushort_array(short[] x,
int ofs,
int len)
public abstract void write_wchar(char x)
wchar that is mapped into
java char.
public abstract void write_wchar_array(char[] chars,
int offset,
int length)
public abstract void write_wstring(String x)
wstring that is mapped into
java string.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||