initialize the checksum interface . concode_field_sep String algorithm concode_elem_sep Checksum checksum concode_field_sep String getValue concode_elem_sep boolean isValid concode_elem_sep String toString concode_elem_sep void setAlgorithm
void function ( ) { if ( checksum != null ) { return ; } if ( "srini_string" . equals ( algorithm ) ) { checksum = new CRC32 ( ) ; } else if ( "srini_string" . equals ( algorithm ) ) { checksum = new Adler32 ( ) ; } else { throw new BuildException ( new NoSuchAlgorithmException ( ) ) ; } }