public class UtfBomAwareReader extends Reader
| Constructor and Description |
|---|
UtfBomAwareReader(InputStream in) |
UtfBomAwareReader(InputStream in,
String defaultCharsetName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getDefaultEncoding() |
String |
getEncoding() |
protected void |
init()
Read up to 4 bytes to determine the BOM.
|
int |
read(char[] cbuf,
int off,
int len) |
public UtfBomAwareReader(InputStream in)
public UtfBomAwareReader(InputStream in, String defaultCharsetName)
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 ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionCopyright © 2018 Liquibase.org. All rights reserved.