public static class IOHelper.EncodingFileReader extends InputStreamReader
Constructor and Description |
---|
EncodingFileReader(FileInputStream in,
String charset) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
getEncoding, read, read, ready
public EncodingFileReader(FileInputStream in, String charset) throws FileNotFoundException, UnsupportedEncodingException
in
- file to readcharset
- character set to useFileNotFoundException
UnsupportedEncodingException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStreamReader
IOException
Apache Camel