org.codehaus.plexus.digest
public interface StreamingDigester
| Field Summary | |
|---|---|
| String | ROLE |
| Method Summary | |
|---|---|
| String | calc()
Calculate the current checksum.
|
| String | getAlgorithm()
Get the algorithm used for the checksum.
|
| void | reset()
Reset the hashcode calculation algorithm.
|
| void | update(InputStream is)
Update the checksum with the content of the input stream.
|
Returns: the current checksum.
Throws: DigesterException if there was a problem computing the hashcode.
Returns: the algorithm
Throws: DigesterException if there was a problem with the internal message digest
Parameters: is the input stream
Throws: DigesterException if there was a problem computing the hashcode.