String function ( File arg0 ) { String loc0 = null ; byte [ ] loc1 = FileUtils . readByteArrayFromFile ( arg0 , 0 , arg0 . length ( ) ) ; loc0 = md5Sum ( loc1 , SCOUR_MD5_BYTE_LIMIT ) ; return loc0 ; }
method : getfilemd5sum purpose : get the md5 sum of a file . scour exchange only counts the first scour_md5_byte_limit bytes of a file for caclulating checksums probably for efficiency or better comaprison counts against unfinished downloads . concode_field_sep int SCOUR_MD5_BYTE_LIMIT concode_elem_sep MessageDigest md concode_field_sep String hexDigit concode_elem_sep String md5Sum concode_elem_sep String md5Sum concode_elem_sep String md5Sum