W3cubDocs

/OpenJDK 8 Web

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" ).

Methods

create_codec

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.

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.