Interface ComplexEncoding

  • All Superinterfaces:
    Encoding, EncodingCore
    All Known Implementing Classes:
    Utf16LE

    public interface ComplexEncoding
    extends Encoding
    A complex encoding has a non-uniform relationship between the number of characters and the number of bytes generated. UTF-8 is an example for such a non-uniform encoding.
    Author:
    Thomas Morgner
    • Method Detail

      • isEncodingSupported

        boolean isEncodingSupported()
        Checks, whether this implementation supports encoding of character data.
        Returns: