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, write
public EncodingFileWriter(FileOutputStream out, String charset) throws FileNotFoundException, UnsupportedEncodingException
out
- file to writecharset
- character set to useFileNotFoundException
UnsupportedEncodingException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStreamWriter
IOException
Apache Camel