JavaTM 2 Platform
Standard Ed. 6

org.omg.CORBA_2_3.portable
类 OutputStream

java.lang.Object
  继承者 java.io.OutputStream
      继承者 org.omg.CORBA.portable.OutputStream
          继承者 org.omg.CORBA_2_3.portable.OutputStream
所有已实现的接口:
Closeable, Flushable

public abstract class OutputStream
extends OutputStream

OutputStream 提供将所有映射的 IDL 类型写入流的接口。它扩展 org.omg.CORBA.portable.OutputStream 并定义 CORBA 2.3 定义的新方法。

从以下版本开始:
JDK1.2
另请参见:
OutputStream

构造方法摘要
OutputStream()
           
 
方法摘要
 void write_abstract_interface(Object obj)
          编组值对象或 stub 对象。
 void write_value(Serializable value)
          将值类型编组到输出流中。
 void write_value(Serializable value, BoxedValueHelper factory)
          将值类型编组到输出流中。
 void write_value(Serializable value, Class clz)
          将值类型编组到输出流中。
 void write_value(Serializable value, String repository_id)
          将值类型编组到输出流中。
 
从类 org.omg.CORBA.portable.OutputStream 继承的方法
create_input_stream, orb, write_any, write_boolean_array, write_boolean, write_char_array, write_char, write_Context, write_double_array, write_double, write_fixed, write_float_array, write_float, write_long_array, write_long, write_longlong_array, write_longlong, write_Object, write_octet_array, write_octet, write_Principal, write_short_array, write_short, write_string, write_TypeCode, write_ulong_array, write_ulong, write_ulonglong_array, write_ulonglong, write_ushort_array, write_ushort, write_wchar_array, write_wchar, write_wstring, write
 
从类 java.io.OutputStream 继承的方法
close, flush, write, write
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

OutputStream

public OutputStream()
方法详细信息

write_value

public void write_value(Serializable value)
将值类型编组到输出流中。

参数:
value - 要写入的实际值

write_value

public void write_value(Serializable value,
                        Class clz)
将值类型编组到输出流中。

参数:
value - 要写入的实际值
clz - 要编组的值的声明类型

write_value

public void write_value(Serializable value,
                        String repository_id)
将值类型编组到输出流中。

参数:
value - 要写入的实际值
repository_id - 标识要编组的值类型的类型

write_value

public void write_value(Serializable value,
                        BoxedValueHelper factory)
将值类型编组到输出流中。

参数:
value - 要写入的实际值
factory - 用于编组框值 (boxed value) 的帮助器的实例

write_abstract_interface

public void write_abstract_interface(Object obj)
编组值对象或 stub 对象。

参数:
obj - 要编组的实际值对象或要被编组的 stub

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only