public abstract class AbstractDigesterHashStrategy extends Object implements HashStrategy
| Constructor and Description |
|---|
AbstractDigesterHashStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHash(InputStream input) |
protected abstract MessageDigest |
newMessageDigest() |
public String getHash(InputStream input) throws IOException
getHash in interface HashStrategyinput - to digest.IOException - if there was an error during reading the stream content.protected abstract MessageDigest newMessageDigest() throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionCopyright © 2008-2016. All Rights Reserved.