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, readypublic EncodingFileReader(FileInputStream in, String charset) throws FileNotFoundException, UnsupportedEncodingException
in - file to readcharset - character set to useFileNotFoundExceptionUnsupportedEncodingExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamReaderIOExceptionApache Camel