Uses of Interface
com.zeroturnaround.liverebel.util.MD5CheckSum.InputStreamCallback

Packages that use MD5CheckSum.InputStreamCallback
com.zeroturnaround.liverebel.util   
 

Uses of MD5CheckSum.InputStreamCallback in com.zeroturnaround.liverebel.util
 

Methods in com.zeroturnaround.liverebel.util with parameters of type MD5CheckSum.InputStreamCallback
static String MD5CheckSum.md5Hex(InputStream originalInStream, MD5CheckSum.InputStreamCallback inputStreamCallback)
          Convenience method that calculates MD5 checksum based on inputStream while still allowing other code to consume same data from input stream given by inputStreamCallback.

MD5CheckSum.MD5ReaderThread consumes originalInStream to calculate MD5 checksum based on it, but it writes all original bytes to pipedOutStream that is made available as InputStream to the inputStreamCallback which can handle given input stream as if it would read originalInStream
 



Copyright © 2013. All Rights Reserved.