Class CharsetProber

    • Constructor Detail

      • CharsetProber

        public CharsetProber()
    • Method Detail

      • getCharSetName

        public abstract java.lang.String getCharSetName()
      • reset

        public abstract void reset()
      • getConfidence

        public abstract float getConfidence()
      • setOption

        public abstract void setOption()
      • filterWithoutEnglishLetters

        public static java.nio.ByteBuffer filterWithoutEnglishLetters​(byte[] buf,
                                                                      int offset,
                                                                      int length)
      • filterWithEnglishLetters

        public static java.nio.ByteBuffer filterWithEnglishLetters​(byte[] buf,
                                                                   int offset,
                                                                   int length)
      • isAscii

        private static boolean isAscii​(byte b)
      • isAsciiSymbol

        private static boolean isAsciiSymbol​(byte b)