2424import java .io .IOException ;
2525import java .io .InputStream ;
2626import java .io .OutputStream ;
27- import java .io .UnsupportedEncodingException ;
2827import java .net .URL ;
2928import java .util .Collection ;
3029import java .util .Date ;
@@ -871,7 +870,7 @@ public static boolean waitFor(File file, int seconds) {
871870 * @param encoding the encoding to use, null means platform default
872871 * @return the file contents or null if read failed
873872 * @throws IOException in case of an I/O error
874- * @throws UnsupportedEncodingException if the encoding is not supported by the VM
873+ * @throws java.io. UnsupportedEncodingException if the encoding is not supported by the VM
875874 */
876875 public static String readFileToString (
877876 File file , String encoding ) throws IOException {
@@ -915,7 +914,7 @@ public static byte[] readFileToByteArray(File file) throws IOException {
915914 * @param encoding the encoding to use, null means platform default
916915 * @return the list of Strings representing each line in the file
917916 * @throws IOException in case of an I/O error
918- * @throws UnsupportedEncodingException if the encoding is not supported by the VM
917+ * @throws java.io. UnsupportedEncodingException if the encoding is not supported by the VM
919918 * @since Commons IO 1.1
920919 */
921920 public static List readLines (File file , String encoding ) throws IOException {
@@ -989,7 +988,7 @@ public static LineIterator lineIterator(File file, String encoding) throws IOExc
989988 * @param data the content to write to the file
990989 * @param encoding the encoding to use, null means platform default
991990 * @throws IOException in case of an I/O error
992- * @throws UnsupportedEncodingException if the encoding is not supported by the VM
991+ * @throws java.io. UnsupportedEncodingException if the encoding is not supported by the VM
993992 */
994993 public static void writeStringToFile (File file ,
995994 String data , String encoding ) throws IOException {
@@ -1032,7 +1031,7 @@ public static void writeByteArrayToFile(
10321031 * @param encoding the encoding to use, null means platform default
10331032 * @param lines the lines to write, null entries produce blank lines
10341033 * @throws IOException in case of an I/O error
1035- * @throws UnsupportedEncodingException if the encoding is not supported by the VM
1034+ * @throws java.io. UnsupportedEncodingException if the encoding is not supported by the VM
10361035 * @since Commons IO 1.1
10371036 */
10381037 public static void writeLines (File file , String encoding , Collection lines ) throws IOException {
@@ -1053,7 +1052,7 @@ public static void writeLines(File file, String encoding, Collection lines) thro
10531052 * @param lines the lines to write, null entries produce blank lines
10541053 * @param lineEnding the line separator to use, null is system default
10551054 * @throws IOException in case of an I/O error
1056- * @throws UnsupportedEncodingException if the encoding is not supported by the VM
1055+ * @throws java.io. UnsupportedEncodingException if the encoding is not supported by the VM
10571056 * @since Commons IO 1.1
10581057 */
10591058 public static void writeLines (File file , String encoding , Collection lines , String lineEnding ) throws IOException {
0 commit comments