commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <>
Subject [io] File checksum
Date Wed, 29 Mar 2006 09:46:47 GMT

I have found myself recoding a file checksum function for several 
projects, I wonder if such a function could be added to [io]. Something 
like this:

     public static Checksum checksum(File file, Checksum cs)

the usage would look like this:

     long crc = FileUtils.checksum(file, new CRC32()).getValue();

What do you think ?

Emmanuel Bourg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message