public static class IOHelper.EncodingFileWriter extends OutputStreamWriter
| Constructor and Description |
|---|
EncodingFileWriter(FileOutputStream out,
String charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
flush, getEncoding, write, write, writepublic EncodingFileWriter(FileOutputStream out, String charset) throws FileNotFoundException, UnsupportedEncodingException
out - file to writecharset - character set to useFileNotFoundExceptionUnsupportedEncodingExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamWriterIOExceptionApache Camel