Class CharsetSniffingInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @Deprecated(since="2021-07-29")
    public class CharsetSniffingInputStream
    extends java.io.FilterInputStream
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    Will attempt to autodetect the character encoding from the stream By default, this will preserve the BOM if it exists
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getEncoding()
      Deprecated.
       
      boolean isBomSet()
      Deprecated.
       
      • Methods inherited from class java.io.FilterInputStream

        available, close, mark, markSupported, read, read, read, reset, skip
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

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

      • CharsetSniffingInputStream

        public CharsetSniffingInputStream​(java.io.InputStream in)
        Deprecated.
      • CharsetSniffingInputStream

        public CharsetSniffingInputStream​(java.io.InputStream in,
                                          boolean preserveBom)
        Deprecated.
    • Method Detail

      • isBomSet

        public boolean isBomSet()
        Deprecated.
      • getEncoding

        public java.lang.String getEncoding()
        Deprecated.