public interface StreamingDigester
| Modifier and Type | Method and Description |
|---|---|
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.
|
static final String ROLE
String getAlgorithm()
void reset()
throws DigesterException
update(InputStream)DigesterException - if there was a problem with the internal message digestString calc() throws DigesterException
DigesterException - if there was a problem computing the hashcode.void update(InputStream is) throws DigesterException
is - the input streamDigesterException - if there was a problem computing the hashcode.Copyright © 2001–2015 Codehaus Plexus. All rights reserved.