Class HashvalueAlgorithm
java.lang.Object
org.apache.tools.ant.types.selectors.modifiedselector.HashvalueAlgorithm
- All Implemented Interfaces:
Algorithm
Computes a 'hashvalue' for the content of file using String.hashValue().
Use of this algorithm doesn't require any additional nested <param>s and
doesn't support any.
- Since:
- Ant 1.6
- Version:
- 2003-09-13
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HashvalueAlgorithm
public HashvalueAlgorithm()
-
-
Method Details
-
isValid
public boolean isValid()This algorithm doesn't need any configuration. Therefore it's always valid. -
getValue
Computes a 'hashvalue' for a file content. It reads the content of a file, convert that to String and use the String.hashCode() method. -
toString
Override Object.toString().
-