|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.tools.ant.taskdefs.condition.FilesMatch
Compares two files for bitwise equality based on size and content. Timestamps are not at all looked at.
| Constructor Summary | |
FilesMatch()
|
|
| Method Summary | |
boolean |
eval()
comparison method of the interface |
void |
setFile1(java.io.File file1)
Sets the File1 attribute |
void |
setFile2(java.io.File file2)
Sets the File2 attribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FilesMatch()
| Method Detail |
public void setFile1(java.io.File file1)
file1 - The new File1 valuepublic void setFile2(java.io.File file2)
file2 - The new File2 value
public boolean eval()
throws BuildException
eval in interface ConditionBuildException - if it all went pear-shaped
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||