org.codehaus.plexus.digest
public interface StreamingDigester
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calc()
Calculate the current checksum.
|
java.lang.String |
getAlgorithm()
Get the algorithm used for the checksum.
|
void |
reset()
Reset the hashcode calculation algorithm.
|
void |
update(java.io.InputStream is)
Update the checksum with the content of the input stream.
|
java.lang.String getAlgorithm()
void reset() throws DigesterException
update(InputStream)
DigesterException
- if there was a problem with the internal message digestjava.lang.String calc() throws DigesterException
DigesterException
- if there was a problem computing the hashcode.void update(java.io.InputStream is) throws DigesterException
is
- the input streamDigesterException
- if there was a problem computing the hashcode.Copyright © 2014. All Rights Reserved.