(File file)
| 44 | } |
| 45 | |
| 46 | public static String read(File file) { |
| 47 | try { |
| 48 | return new String(readToByte(file), StandardCharsets.UTF_8); |
| 49 | } catch (IOException e) { |
| 50 | return ""; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | public static String read(InputStream is) { |
| 55 | try { |
no test coverage detected