(File file)
| 141 | } |
| 142 | |
| 143 | public static String read(File file) { |
| 144 | try { |
| 145 | return new String(readToByte(file), StandardCharsets.UTF_8); |
| 146 | } catch (Exception e) { |
| 147 | return ""; |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | public static String read(InputStream is) { |
| 152 | try { |
no test coverage detected