Class BomSniffer


  • public final class BomSniffer
    extends java.lang.Object
    The BOM sniffing part of the HTML5 encoding sniffing algorithm.
    Version:
    $Id$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) Encoding sniff()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BomSniffer

        public BomSniffer​(ByteReadable source)
        Parameters:
        source -
    • Method Detail

      • sniff

        Encoding sniff()
                throws java.io.IOException
        Throws:
        java.io.IOException