You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2008/01/13 21:35:02 UTC
svn commit: r611634 -
/commons/proper/io/trunk/src/java/org/apache/commons/io/output/FileWriterWithEncoding.java
Author: niallp
Date: Sun Jan 13 12:35:00 2008
New Revision: 611634
URL: http://svn.apache.org/viewvc?rev=611634&view=rev
Log:
Correct JavaDoc - encoding must be specified
Modified:
commons/proper/io/trunk/src/java/org/apache/commons/io/output/FileWriterWithEncoding.java
Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/output/FileWriterWithEncoding.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/output/FileWriterWithEncoding.java?rev=611634&r1=611633&r2=611634&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/output/FileWriterWithEncoding.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/output/FileWriterWithEncoding.java Sun Jan 13 12:35:00 2008
@@ -36,7 +36,13 @@
* <code>FileWriter</code>.
* <p>
* By default, the file will be overwritten, but this may be changed to append.
- * The encoding may also be specified, and defaults to the platform default.
+ * <p>
+ * 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 than
+ * this implementation.
+ * <p>
+ *
*
* @since Commons IO 1.4
* @version $Id$