Package nu.validator.htmlparser.io
Class BomSniffer
- java.lang.Object
-
- nu.validator.htmlparser.io.BomSniffer
-
public final class BomSniffer extends java.lang.Object
The BOM sniffing part of the HTML5 encoding sniffing algorithm.- Version:
- $Id$
-
-
Field Summary
Fields Modifier and Type Field Description private ByteReadable
source
-
Constructor Summary
Constructors Constructor Description BomSniffer(ByteReadable source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Encoding
sniff()
-
-
-
Field Detail
-
source
private final ByteReadable source
-
-
Constructor Detail
-
BomSniffer
public BomSniffer(ByteReadable source)
- Parameters:
source
-
-
-
Method Detail
-
sniff
Encoding sniff() throws java.io.IOException
- Throws:
java.io.IOException
-
-