|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.types.selectors.modifiedselector.HashvalueAlgorithm
public class HashvalueAlgorithm
Computes a 'hashvalue' for the content of file using String.hashValue(). Use of this algorithm doesn't require any additional nested s and doesn't support any.
| Constructor Summary | |
|---|---|
HashvalueAlgorithm()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getValue(java.io.File file)
Computes a 'hashvalue' for a file content. |
boolean |
isValid()
This algorithm doesn't need any configuration. |
java.lang.String |
toString()
Override Object.toString(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HashvalueAlgorithm()
| Method Detail |
|---|
public boolean isValid()
isValid in interface Algorithmpublic java.lang.String getValue(java.io.File file)
getValue in interface Algorithmfile - The file for which the value should be computed
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||