Package org.corpus_tools.pepper.util
Class FileComparator
- java.lang.Object
-
- org.corpus_tools.pepper.util.FileComparator
-
public class FileComparator extends Object
-
-
Constructor Summary
Constructors Constructor Description FileComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompareFiles(File file1, File file2)Compares the content of two files.
-
-
-
Method Detail
-
compareFiles
public boolean compareFiles(File file1, File file2) throws IOException
Compares the content of two files. Iff they are exactly the same, than true will be returned. False otherwise.- Parameters:
file1- first file to comparefile2- second file to compare- Returns:
- true, iff files are exactly the same
- Throws:
IOExceptionIOException
-
-