Class FilesMatch
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.condition.FilesMatch
 
- 
- 
Constructor SummaryConstructors Constructor Description FilesMatch()
 - 
Method SummaryModifier and Type Method Description booleaneval()comparison method of the interfacevoidsetFile1(java.io.File file1)Sets the File1 attributevoidsetFile2(java.io.File file2)Sets the File2 attributevoidsetTextfile(boolean textfile)Set whether to ignore line endings when comparing files.
 
- 
- 
- 
Method Detail- 
setFile1public void setFile1(java.io.File file1) Sets the File1 attribute- Parameters:
- file1- The new File1 value
 
 - 
setFile2public void setFile2(java.io.File file2) Sets the File2 attribute- Parameters:
- file2- The new File2 value
 
 - 
setTextfilepublic void setTextfile(boolean textfile) Set whether to ignore line endings when comparing files.- Parameters:
- textfile- whether to ignore line endings.
 
 - 
evalpublic boolean eval() throws BuildExceptioncomparison method of the interface- Specified by:
- evalin interface- Condition
- Returns:
- true if the files are equal
- Throws:
- BuildException- if it all went pear-shaped
 
 
- 
 
-