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:
 java.io.Closeable,java.lang.AutoCloseable
public class CharsetSniffingInputStream extends java.io.FilterInputStreamWill 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 classCharsetSniffingInputStream.Encoding 
- 
Constructor Summary
Constructors Constructor Description CharsetSniffingInputStream(java.io.InputStream in)CharsetSniffingInputStream(java.io.InputStream in, boolean preserveBom) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEncoding()booleanisBomSet()- 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip 
 - 
 
 -