Interfaces and classes used by the various implementations in the sub-packages.
Definitive implementations of commonly used encoders and decoders.
Codec is currently comprised of a modest set of utilities and a simple framework for String encoding and decoding in the following packages:
Interface Summary Interface Description BinaryDecoderDefines common decoding methods for byte array decoders. BinaryEncoderDefines common encoding methods for byte array encoders. DecoderProvides the highest level of abstraction for Decoders. EncoderProvides the highest level of abstraction for Encoders. StringDecoderDefines common decoding methods for String decoders. StringEncoderDefines common encoding methods for String encoders.
Class Summary Class Description CharEncodingCharacter encoding names required of every implementation of the Java platform. CharsetsCharsets required of every implementation of the Java platform. ResourcesConsider this class package private. StringEncoderComparatorCompares Strings using a
Enum Summary Enum Description CodecPolicyDefines encoding and decoding policies.
Exception Summary Exception Description DecoderExceptionThrown when there is a failure condition during the decoding process. EncoderExceptionThrown when there is a failure condition during the encoding process.