Class CharsetSniffingInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    @Deprecated(since="2021-07-29")
    public class CharsetSniffingInputStream
    extends 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
    • Constructor Detail

      • CharsetSniffingInputStream

        public CharsetSniffingInputStream​(InputStream in)
        Deprecated.
      • CharsetSniffingInputStream

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

      • isBomSet

        public boolean isBomSet()
        Deprecated.
      • getEncoding

        public String getEncoding()
        Deprecated.