JavaTM Platform
Standard Ed. 6

类 org.omg.IOP.CodecPackage.FormatMismatch
的使用

使用 FormatMismatch 的软件包
org.omg.IOP 此包包含在 OMG 文档 The Common Object Request Broker: Architecture and Specification http://cgi.omg.org/cgi-bin/doc?formal/99-10-07 的 13.6.小节中指定的 IOP 模块。 
org.omg.IOP.CodecPackage 此包根据 IOP::Codec IDL 接口定义生成。 
 

org.omg.IOP 中 FormatMismatch 的使用
 

抛出 FormatMismatch 的 org.omg.IOP 中的方法
 Any CodecOperations.decode_value(byte[] data, TypeCode tc)
          基于给定的 TypeCode 和对此 Codec 有效的编码格式,将给定的 byte 数组解码为 Any。
 Any CodecOperations.decode(byte[] data)
          基于对此 Codec 有效的编码格式,将给定的 byte 数组解码为 Any。
 

org.omg.IOP.CodecPackage 中 FormatMismatch 的使用
 

返回 FormatMismatch 的 org.omg.IOP.CodecPackage 中的方法
static FormatMismatch FormatMismatchHelper.extract(Any a)
           
static FormatMismatch FormatMismatchHelper.read(InputStream istream)
           
 

参数类型为 FormatMismatch 的 org.omg.IOP.CodecPackage 中的方法
static void FormatMismatchHelper.insert(Any a, FormatMismatch that)
           
static void FormatMismatchHelper.write(OutputStream ostream, FormatMismatch value)
           
 


JavaTM Platform
Standard Ed. 6

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

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