Class XUserDefinedCharset

  • All Implemented Interfaces:
    java.lang.Comparable<java.nio.charset.Charset>

    public final class XUserDefinedCharset
    extends java.nio.charset.Charset
    Simple implementation of the 'x-user-defined' Charset.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static XUserDefinedCharset INSTANCE
      The single instance.
      static java.lang.String NAME
      The single instance.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private XUserDefinedCharset()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(java.nio.charset.Charset charset)  
      java.nio.charset.CharsetDecoder newDecoder()  
      java.nio.charset.CharsetEncoder newEncoder()  
      • Methods inherited from class java.nio.charset.Charset

        aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XUserDefinedCharset

        private XUserDefinedCharset()
    • Method Detail

      • contains

        public boolean contains​(java.nio.charset.Charset charset)
        Specified by:
        contains in class java.nio.charset.Charset
      • newDecoder

        public java.nio.charset.CharsetDecoder newDecoder()
        Specified by:
        newDecoder in class java.nio.charset.Charset
      • newEncoder

        public java.nio.charset.CharsetEncoder newEncoder()
        Specified by:
        newEncoder in class java.nio.charset.Charset