3637383940414243
if (ret != -1) { md5.update(buffer, 0, ret); } return ret; } catch (IOException e) { throw new RuntimeIOException(e); } }
4243444546474849
try { FileOutputStream out = new FileOutputStream(target); retrieveFile(fileName, out); out.close(); } catch (IOException e) { throw new RuntimeIOException(e); } }
7879808182838485
} file.setMd5(reader.md5()); fileCollection.save(file); input.close(); } catch (IOException e) { throw new RuntimeIOException(e); } }
3334353637383940
public void write(byte[] data) { try { md5.update(data); out.write(data); } catch (IOException e) { throw new RuntimeIOException(e); } }