DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29742>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29742 Modified selector doesn't allow algorithm or comparator selection ------- Additional Comments From [EMAIL PROTECTED] 2004-06-22 22:51 ------- The configuration of the checksum algorithm follows the pattern of the current design of the ModifiedSelector. The similar example would be the "digest" algorithm, which has two options for the algorithm.algorithm parameter, MD5 and SHA. Both use a similar base, java.security.MessageDigest. The examples would be: <modified algorithm="digest"> <param name="algorithm.algorithm" value="MD5" /> </modified> <modified algorithm="digest"> <param name="algorithm.algorithm" value="SHA" /> </modified> The new checksum addition is simply following this existing pattern, where checksum is a new "type" of algorithm. It has two options, that are both of type java.util.zip.Checksum: <modified algorithm="checksum"> <param name="algorithm.algorithm" value="CRC" /> </modified> <modified algorithm="checksum"> <param name="algorithm.algorithm" value="ADLER" /> </modified> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]