文字
分享


JavaTM 2 Platform
Standard Ed. 6

org.omg.CORBA_2_3.portable
类 OutputStream

1

2

3

4

java.lang.Object

  <img src="../../../../resources/inherit.gif" alt="继承者 ">java.io.OutputStream

      <img src="../../../../resources/inherit.gif" alt="继承者 ">org.omg.CORBA.portable.OutputStream

          <img src="../../../../resources/inherit.gif" alt="继承者 "><b>org.omg.CORBA_2_3.portable.OutputStream</b>

所有已实现的接口:
Closeable, Flushable

1

public abstract class <b>OutputStream</b>

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

1

public <b>OutputStream</b>()

方法详细信息

write_value

1

public void <b>write_value</b>(Serializable value)

将值类型编组到输出流中。

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

write_value

1

2

public void <b>write_value</b>(Serializable value,

                        Class clz)

将值类型编组到输出流中。

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

write_value

1

2

public void <b>write_value</b>(Serializable value,

                        String repository_id)

将值类型编组到输出流中。

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

write_value

1

2

public void <b>write_value</b>(Serializable value,

                        BoxedValueHelper factory)

将值类型编组到输出流中。

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

write_abstract_interface

1

public void <b>write_abstract_interface</b>(Object obj)

编组值对象或 stub 对象。

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

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。

上一篇:ObjectImpl下一篇:package-frame