commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <>
Subject Re: [io] File checksum
Date Wed, 29 Mar 2006 12:41:14 GMT
Stephen Colebourne wrote:
> +1 to the idea.
> I would suggest that we need one variation in [codec]
> and one in [io] as checksums are not just file based.

I don't know how it could be integrated to [codec], maybe in DigestUtils ?

It may be interesting to compute the checksums on streams too, maybe as 
a similar method in IOUtils

     public static Checksum checksum(InputStream in, Checksum checksum);

or as a ChecksumInputStream computing automatically the checksum of the 
data read. Or both.

Emmanuel Bourg

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

View raw message