Author: niallp
Date: Wed Oct 11 04:20:55 2006
New Revision: 462772
URL: http://svn.apache.org/viewvc?view=rev&rev=462772
Log:
Remove unused import of UnsupportedEncodingException and modify javadoc
references to that class to use fully qualified name.
Modified:
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileUtils.java
Modified:
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileUtils.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileUtils.java?view=diff&rev=462772&r1=462771&r2=462772
==============================================================================
---
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileUtils.java
(original)
+++
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileUtils.java
Wed Oct 11 04:20:55 2006
@@ -24,7 +24,6 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
-import java.io.UnsupportedEncodingException;
import java.net.URL;
import java.util.Collection;
import java.util.Date;
@@ -871,7 +870,7 @@
* @param encoding the encoding to use, null means platform default
* @return the file contents or null if read failed
* @throws IOException in case of an I/O error
- * @throws UnsupportedEncodingException if the encoding is not supported
by the VM
+ * @throws java.io.UnsupportedEncodingException if the encoding is not
supported by the VM
*/
public static String readFileToString(
File file, String encoding) throws IOException {
@@ -915,7 +914,7 @@
* @param encoding the encoding to use, null means platform default
* @return the list of Strings representing each line in the file
* @throws IOException in case of an I/O error
- * @throws UnsupportedEncodingException if the encoding is not supported
by the VM
+ * @throws java.io.UnsupportedEncodingException if the encoding is not
supported by the VM
* @since Commons IO 1.1
*/
public static List readLines(File file, String encoding) throws
IOException {
@@ -989,7 +988,7 @@
* @param data the content to write to the file
* @param encoding the encoding to use, null means platform default
* @throws IOException in case of an I/O error
- * @throws UnsupportedEncodingException if the encoding is not supported
by the VM
+ * @throws java.io.UnsupportedEncodingException if the encoding is not
supported by the VM
*/
public static void writeStringToFile(File file,
String data, String encoding) throws IOException {
@@ -1032,7 +1031,7 @@
* @param encoding the encoding to use, null means platform default
* @param lines the lines to write, null entries produce blank lines
* @throws IOException in case of an I/O error
- * @throws UnsupportedEncodingException if the encoding is not supported
by the VM
+ * @throws java.io.UnsupportedEncodingException if the encoding is not
supported by the VM
* @since Commons IO 1.1
*/
public static void writeLines(File file, String encoding, Collection
lines) throws IOException {
@@ -1053,7 +1052,7 @@
* @param lines the lines to write, null entries produce blank lines
* @param lineEnding the line separator to use, null is system default
* @throws IOException in case of an I/O error
- * @throws UnsupportedEncodingException if the encoding is not supported
by the VM
+ * @throws java.io.UnsupportedEncodingException if the encoding is not
supported by the VM
* @since Commons IO 1.1
*/
public static void writeLines(File file, String encoding, Collection
lines, String lineEnding) throws IOException {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]