org.omg.CORBA.portable
Class OutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--org.omg.CORBA.portable.OutputStream
- public abstract class OutputStream
- extends OutputStream
OuputStream is the Java API for writing IDL types
to CDR marshal streams. These methods are used by the ORB to
marshal IDL types as well as to insert IDL types into Anys.
The _array
versions of the methods can be directly
used to write sequences and arrays of IDL types.
- Since:
- JDK1.2
Method Summary |
abstract InputStream |
create_input_stream()
|
ORB |
orb()
Return the ORB that created this OutputStream |
abstract void |
write_any(Any value)
|
abstract void |
write_boolean_array(boolean[] value,
int offset,
int length)
|
abstract void |
write_boolean(boolean value)
|
abstract void |
write_char_array(char[] value,
int offset,
int length)
|
abstract void |
write_char(char value)
|
void |
write_Context(Context ctx,
ContextList contexts)
|
abstract void |
write_double_array(double[] value,
int offset,
int length)
|
abstract void |
write_double(double value)
|
void |
write_fixed(BigDecimal value)
|
abstract void |
write_float_array(float[] value,
int offset,
int length)
|
abstract void |
write_float(float value)
|
abstract void |
write_long_array(int[] value,
int offset,
int length)
|
abstract void |
write_long(int value)
|
abstract void |
write_longlong_array(long[] value,
int offset,
int length)
|
abstract void |
write_longlong(long value)
|
abstract void |
write_Object(Object value)
|
abstract void |
write_octet_array(byte[] value,
int offset,
int length)
|
abstract void |
write_octet(byte value)
|
abstract void |
write_Principal(Principal value)
Deprecated. Deprecated by CORBA 2.2. |
abstract void |
write_short_array(short[] value,
int offset,
int length)
|
abstract void |
write_short(short value)
|
abstract void |
write_string(String value)
|
abstract void |
write_TypeCode(TypeCode value)
|
abstract void |
write_ulong_array(int[] value,
int offset,
int length)
|
abstract void |
write_ulong(int value)
|
abstract void |
write_ulonglong_array(long[] value,
int offset,
int length)
|
abstract void |
write_ulonglong(long value)
|
abstract void |
write_ushort_array(short[] value,
int offset,
int length)
|
abstract void |
write_ushort(short value)
|
abstract void |
write_wchar_array(char[] value,
int offset,
int length)
|
abstract void |
write_wchar(char value)
|
abstract void |
write_wstring(String value)
|
void |
write(int b)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
OutputStream
public OutputStream()
create_input_stream
public abstract InputStream create_input_stream()
write_boolean
public abstract void write_boolean(boolean value)
write_char
public abstract void write_char(char value)
write_wchar
public abstract void write_wchar(char value)
write_octet
public abstract void write_octet(byte value)
write_short
public abstract void write_short(short value)
write_ushort
public abstract void write_ushort(short value)
write_long
public abstract void write_long(int value)
write_ulong
public abstract void write_ulong(int value)
write_longlong
public abstract void write_longlong(long value)
write_ulonglong
public abstract void write_ulonglong(long value)
write_float
public abstract void write_float(float value)
write_double
public abstract void write_double(double value)
write_string
public abstract void write_string(String value)
write_wstring
public abstract void write_wstring(String value)
write_boolean_array
public abstract void write_boolean_array(boolean[] value,
int offset,
int length)
write_char_array
public abstract void write_char_array(char[] value,
int offset,
int length)
write_wchar_array
public abstract void write_wchar_array(char[] value,
int offset,
int length)
write_octet_array
public abstract void write_octet_array(byte[] value,
int offset,
int length)
write_short_array
public abstract void write_short_array(short[] value,
int offset,
int length)
write_ushort_array
public abstract void write_ushort_array(short[] value,
int offset,
int length)
write_long_array
public abstract void write_long_array(int[] value,
int offset,
int length)
write_ulong_array
public abstract void write_ulong_array(int[] value,
int offset,
int length)
write_longlong_array
public abstract void write_longlong_array(long[] value,
int offset,
int length)
write_ulonglong_array
public abstract void write_ulonglong_array(long[] value,
int offset,
int length)
write_float_array
public abstract void write_float_array(float[] value,
int offset,
int length)
write_double_array
public abstract void write_double_array(double[] value,
int offset,
int length)
write_Object
public abstract void write_Object(Object value)
write_TypeCode
public abstract void write_TypeCode(TypeCode value)
write_any
public abstract void write_any(Any value)
write_Principal
public abstract void write_Principal(Principal value)
- Deprecated. Deprecated by CORBA 2.2.
write
public void write(int b)
throws IOException
- Overrides:
- write in class OutputStream
- See Also:
portable
package comments for unimplemented features
write_fixed
public void write_fixed(BigDecimal value)
- See Also:
portable
package comments for unimplemented features
write_Context
public void write_Context(Context ctx,
ContextList contexts)
- See Also:
portable
package comments for unimplemented features
orb
public ORB orb()
- Return the ORB that created this OutputStream
- See Also:
portable
package comments for unimplemented features
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.