(File f, String[] inputData)
| 345 | } |
| 346 | |
| 347 | public static void writeToFile(File f, String[] inputData) throws |
| 348 | IOException { |
| 349 | PrintWriter pw = new PrintWriter(new OutputStreamWriter(new |
| 350 | FileOutputStream(f), "UTF-8")); |
| 351 | for (int i=0; i<inputData.length; i++){ |
| 352 | pw.print(inputData[i]); |
| 353 | pw.print("\n"); |
| 354 | } |
| 355 | pw.close(); |
| 356 | } |
| 357 | |
| 358 | /** |
| 359 | * Helper to create a dfs file on the Minicluster DFS with given |
no test coverage detected