|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamingDigester
Gradually create a digest for a stream.
Field Summary | |
---|---|
static java.lang.String |
ROLE
|
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String ROLE
Method Detail |
---|
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 stream
DigesterException
- if there was a problem computing the hashcode.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |