Class GuessEncodingCharsetFinder.DummyCharset

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

    public static class GuessEncodingCharsetFinder.DummyCharset
    extends java.nio.charset.Charset
    A dummy charset to detect a default hit.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(java.nio.charset.Charset cs)  
      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
    • Method Detail

      • contains

        public boolean contains​(java.nio.charset.Charset cs)
        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