JavaTM 2 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 2 Platform
Standard Ed. 6

提交錯誤或意見

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