Class IcuDetectorSniffer

java.lang.Object
java.io.InputStream
nu.validator.htmlparser.extra.IcuDetectorSniffer
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public class IcuDetectorSniffer
extends java.io.InputStream
  • Constructor Summary

    Constructors 
    Constructor Description
    IcuDetectorSniffer​(ByteReadable source)  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)  
    int read()  
    Encoding sniff()  

    Methods inherited from class java.io.InputStream

    available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo

    Methods inherited from class java.lang.Object

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

  • Method Details

    • read

      public int read() throws java.io.IOException
      Specified by:
      read in class java.io.InputStream
      Throws:
      java.io.IOException
    • sniff

      public Encoding sniff() throws java.io.IOException
      Throws:
      java.io.IOException
    • main

      public static void main​(java.lang.String[] args)