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
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
Copyright © 2018 Liquibase.org. All rights reserved.