public class UnicodeInputStream extends InputStream
| Constructor and Description |
|---|
UnicodeInputStream(InputStream in,
String defaultEnc) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getDefaultEncoding() |
String |
getEncoding() |
protected void |
init()
Read-ahead four bytes and check for BOM marks.
|
int |
read() |
available, mark, markSupported, read, read, reset, skippublic UnicodeInputStream(InputStream in, String defaultEnc)
public String getDefaultEncoding()
public String getEncoding()
protected void init()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2002–2019 Starter Inc.. All rights reserved.