Class FileComparator


  • public class FileComparator
    extends Object
    • Constructor Detail

      • FileComparator

        public FileComparator()
    • 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 compare
        file2 - second file to compare
        Returns:
        true, iff files are exactly the same
        Throws:
        IOException
        IOException