public static boolean validateEquality ( final IFileContentResultBean fileContentResultBean ) { return fileContentResultBean . getFileExtensionEquality ( ) && fileContentResultBean . getLengthEquality ( ) && fileContentResultBean . getLastModifiedEquality ( ) && fileContentResultBean . getNameEquality ( ) && fileContentResultBean . getContentEquality ( ) ; }
Validates the files encapsulated in the IFileCompareResultBean for total equality . This means like if they have equal file extension length last modified filenames and content .