jlibs.core.io
Class UnicodeInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
jlibs.core.io.UnicodeInputStream
- All Implemented Interfaces:
- Closeable
public class UnicodeInputStream
- extends FilterInputStream
- Author:
- Santhosh Kumar T
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encoding
public final String encoding
hasBOM
public final boolean hasBOM
UnicodeInputStream
public UnicodeInputStream(InputStream delegate)
throws IOException
- Throws:
IOException
UnicodeInputStream
public UnicodeInputStream(InputStream delegate,
EncodingDetector detector)
throws IOException
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read in class FilterInputStream
- Throws:
IOException
createReader
public InputStreamReader createReader()
Copyright © 2018. All rights reserved.