(File file)
| 164 | } |
| 165 | |
| 166 | public byte[] readFrom(File file) throws IOException { |
| 167 | return readFrom(new FileInputStream(file), (int) file.length()); |
| 168 | } |
| 169 | |
| 170 | public String readFrom(File file, String charsetName) throws IOException { |
| 171 | byte[] content = readFrom(new FileInputStream(file), (int) file.length()); |