VisiBroker for Java

org.omg.IOP
Interface CodecFactoryOperations

All Known Subinterfaces:
CodecFactory

public interface CodecFactoryOperations

This class is used to obtained a Codec.The CodecFactory is obtained through a call to ORB.resolve_initial_references("CodecFactory").


Method Summary
 Codec create_codec(Encoding enc)
          This create_codec() method creates a Codec of the given encoding.This method raises UnknownEncoding if this factory cannot create a Codec of the given encoding.
 

Method Detail

create_codec

Codec create_codec(Encoding enc)
                   throws UnknownEncoding
This create_codec() method creates a Codec of the given encoding.This method raises UnknownEncoding if this factory cannot create a Codec of the given encoding.

Parameters:
enc - This specifies the encoding to be used for creating a Codec.
Returns:
Codec of the given encoding.
Throws:
UnknownEncoding - Cannot create a Codec of that encoding.

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online