站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

CodecFactoryOperations (Java 2 Platform SE v1.4.1) - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

JavaTM 2 Platform
Std. Ed. v1.4.1

org.omg.IOP
Interface CodecFactoryOperations

All Known Subinterfaces:
CodecFactory

public interface CodecFactoryOperations

Codecs are obtained from the CodecFactory. The CodecFactory is obtained through a call to ORB.resolve_initial_references( "CodecFactory" ).


Method Summary
 Codec create_codec(Encoding enc)
          Create a Codec of the given encoding.
 

Method Detail

create_codec

public Codec create_codec(Encoding enc)
                   throws UnknownEncoding
Create a Codec of the given encoding.

Parameters:
enc - The encoding for which to create a Codec.
Returns:
A Codec obtained with the given encoding.
Throws:
UnknownEncoding - thrown if this factory cannot create a Codec of the given encoding.

JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.