Get a string representing the contents of a text file.
(String fileName)
| 99 | |
| 100 | /** Get a string representing the contents of a text file. */ |
| 101 | public static String getString(String fileName) throws IOException { |
| 102 | return getString(new File(fileName)); |
| 103 | } // getString(fileName) |
| 104 | |
| 105 | /** Get a string representing the contents of a text file. */ |
| 106 | public static String getString(File textFile) throws IOException { |