Interface Codec

All Known Implementing Classes:
Base32Codec, Base64Codec, HexCodec

public interface Codec
Container for an encoder/decoder pair.
Author:
Middleware Services
  • Method Details

    • getEncoder

      Encoder getEncoder()
      Returns:
      The byte-to-char encoder of the codec pair.
    • getDecoder

      Decoder getDecoder()
      Returns:
      The char-to-byte decoder of the codec pair.
    • newEncoder

      Encoder newEncoder()
      Returns:
      A new instance of the byte-to-char encoder of the codec pair.
    • newDecoder

      Decoder newDecoder()
      Returns:
      A new instance of the char-to-byte decoder of the codec pair.