nu.validator.htmlparser.impl
Class BomSniffer
java.lang.Object
nu.validator.htmlparser.impl.BomSniffer
public final class BomSniffer
- extends Object
The BOM sniffing part of the HTML5 encoding sniffing algorithm.
- Version:
- $Id: BomSniffer.java 150 2007-08-16 19:21:25Z hsivonen $
- Author:
- hsivonen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
private final ByteReadable source
BomSniffer
public BomSniffer(ByteReadable source)
- Parameters:
source
-
sniff
CharsetDecoder sniff()
throws IOException
- Throws:
IOException