ro.isdc.wro.model.resource.support.hash
Interface HashBuilder

All Known Subinterfaces:
HashStrategy
All Known Implementing Classes:
AbstractDigesterHashStrategy, ConfigurableHashStrategy, CRC32HashStrategy, MD5HashStrategy, SHA1HashStrategy

Deprecated. use HashStrategy instead.

public interface HashBuilder

Author:
Alex Objelean

Method Summary
 String getHash(InputStream inputStream)
          Deprecated.  
 

Method Detail

getHash

String getHash(InputStream inputStream)
               throws IOException
Deprecated. 
Parameters:
inputStream - to digest.
Returns:
the hash of the content.
Throws:
IOException - if there was an error during reading the stream content.


Copyright © 2008-2013. All Rights Reserved.