org.sonar.home.cache
Class FileHashes

java.lang.Object
  extended by org.sonar.home.cache.FileHashes

public class FileHashes
extends Object

Hashes used to store files in the cache directory.

Since:
3.5

Constructor Summary
FileHashes()
           
 
Method Summary
 String of(File file)
           
 String of(InputStream input)
          Computes the hash of given stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileHashes

public FileHashes()
Method Detail

of

public String of(File file)

of

public String of(InputStream input)
Computes the hash of given stream. The stream is closed by this method.



Copyright © 2009-2013 SonarSource. All Rights Reserved.