public class MD5Checksummer extends Object implements Function<InputStream,String>
This function type is implementation of Function
interface and
takes InputStream
as parameter while returns String
with calculated checksum.
Constructor and Description |
---|
MD5Checksummer() |
Modifier and Type | Method and Description |
---|---|
String |
apply(InputStream is)
Algorythm implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, compose, constant, from, fromGuava, identity, toFunction, toGuavaFunction
public String apply(InputStream is) throws Exception
apply
in interface Function<InputStream,String>
is
- InputStream
of file to calculate checksumException
- any