Class EncodingDetectionUtil


  • public class EncodingDetectionUtil
    extends Object
    • Constructor Detail

      • EncodingDetectionUtil

        public EncodingDetectionUtil()
    • Method Detail

      • guessEncoding

        public static String guessEncoding​(com.levigo.jadice.document.io.SeekableInputStream sis)
        Guess the encoding of the given input stream.
        Parameters:
        sis - the input stream
        Returns:
        the charset's name.