Pepper  3.6.0
A highly extensible plattform for conversion and manipulationoflinguisticdata.
org.corpus_tools.pepper.util.FileComparator Class Reference

Public Member Functions

boolean compareFiles (File file1, File file2) throws IOException
 Compares the content of two files. More...
 

Member Function Documentation

◆ compareFiles()

boolean org.corpus_tools.pepper.util.FileComparator.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
file1first file to compare
file2second file to compare
Returns
true, iff files are exactly the same
Exceptions
IOException
IOException