Writer of files that allows the encoding to be set.
This class provides a simple alternative to FileWriter that allows an encoding to be set. Unfortunately, it cannot subclass FileWriter.
By default, the file will be overwritten, but this may be changed to append.
The encoding must be specified using either the name of the {@link Charset}, the {@link Charset}, or a {@link CharsetEncoder}. If the default encoding is required then use the {@link java.io.FileWriter} directly, rather thanthis implementation.
@since 1.4
@version $Id: FileWriterWithEncoding.java 1415850 2012-11-30 20:51:39Z ggregory $