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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to