Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--org.omg.CORBA.portable.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.
Constructor Summary | |
OutputStream()
|
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)
Writes the specified byte to this output stream. |
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 abstract void write_boolean(boolean value)
public abstract void write_char(char value)
public abstract void write_wchar(char value)
public abstract void write_octet(byte value)
public abstract void write_short(short value)
public abstract void write_ushort(short value)
public abstract void write_long(int value)
public abstract void write_ulong(int value)
public abstract void write_longlong(long value)
public abstract void write_ulonglong(long value)
public abstract void write_float(float value)
public abstract void write_double(double value)
public abstract void write_string(String value)
public abstract void write_wstring(String value)
public abstract void write_boolean_array(boolean[] value, int offset, int length)
public abstract void write_char_array(char[] value, int offset, int length)
public abstract void write_wchar_array(char[] value, int offset, int length)
public abstract void write_octet_array(byte[] value, int offset, int length)
public abstract void write_short_array(short[] value, int offset, int length)
public abstract void write_ushort_array(short[] value, int offset, int length)
public abstract void write_long_array(int[] value, int offset, int length)
public abstract void write_ulong_array(int[] value, int offset, int length)
public abstract void write_longlong_array(long[] value, int offset, int length)
public abstract void write_ulonglong_array(long[] value, int offset, int length)
public abstract void write_float_array(float[] value, int offset, int length)
public abstract void write_double_array(double[] value, int offset, int length)
public abstract void write_Object(Object value)
public abstract void write_TypeCode(TypeCode value)
public abstract void write_any(Any value)
public abstract void write_Principal(Principal value)
public void write(int b) throws IOException
write
is that one byte is written
to the output stream. The byte to be written is the eight
low-order bits of the argument b
. The 24
high-order bits of b
are ignored.
Subclasses of OutputStream
must provide an
implementation for this method.
portable
package comments for unimplemented featurespublic void write_fixed(BigDecimal value)
portable
package comments for unimplemented featurespublic void write_Context(Context ctx, ContextList contexts)
portable
package comments for unimplemented featurespublic ORB orb()
portable
package comments for unimplemented features
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |