Method Summary |
|
public void | add(ResourceCollection rc) Add a resource collection. |
public void | addFileset(FileSet set) Files to generate checksums for. |
public static byte[] | decodeHex(char[] data) Converts an array of characters representing hexadecimal values into an
array of bytes of those same values. |
public boolean | eval() |
public void | execute() Calculate the checksum(s). |
public void | setAlgorithm(String algorithm) Specifies the algorithm to be used to compute the checksum.
Defaults to "MD5". |
public void | setFile(File file) Sets the file for which the checksum is to be calculated. |
public void | setFileext(String fileext) Sets the file extension that is be to used to
create or identify destination file. |
public void | setForceOverwrite(boolean forceOverwrite) Whether or not to overwrite existing file irrespective of
whether it is newer than
the source file. |
public void | setFormat(FormatElement e) Select the in/output pattern via a well know format name. |
public void | setPattern(String p) Specify the pattern to use as a MessageFormat pattern. |
public void | setProperty(String property) Sets the property to hold the generated checksum. |
public void | setProvider(String provider) Sets the MessageDigest algorithm provider to be used
to calculate the checksum. |
public void | setReadBufferSize(int size) The size of the read buffer to use. |
public void | setTodir(File todir) |
public void | setTotalproperty(String totalproperty) Sets the property to hold the generated total checksum
for all files. |
public void | setVerifyproperty(String verifyProperty) Sets the verify property. |