Package org.apache.abdera.i18n.text.io
Class CharsetSniffingInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.abdera.i18n.text.io.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CharsetSniffingInputStream.Encoding
Deprecated.
-
Constructor Summary
Constructors Constructor Description CharsetSniffingInputStream(InputStream in)
Deprecated.CharsetSniffingInputStream(InputStream in, boolean preserveBom)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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
-
-
-
-
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.
-
-