code: public static IFileCompareResultBean compareFiles(final File sourceFile,
  		final File fileToCompare, final boolean ignoreAbsolutePathEquality,
  		final boolean ignoreExtensionEquality, final boolean ignoreLengthEquality,
  		final boolean ignoreLastModified, final boolean ignoreNameEquality)
  	{
  		final IFileCompareResultBean fileCompareResultBean = new FileCompareResultBean(sourceFile,
  			fileToCompare);
  		compare(fileCompareResultBean, ignoreAbsolutePathEquality, ignoreExtensionEquality,
  			ignoreLengthEquality, ignoreLastModified, ignoreNameEquality);
  		return fileCompareResultBean;
  	}
docs: Compare files.
  
  @param sourceFile
  the source file
  @param fileToCompare
  the file to compare
  @param ignoreAbsolutePathEquality
  If this is true then the absolute path equality will be ignored.
  @param ignoreExtensionEquality
  the ignore extension equality
  @param ignoreLengthEquality
  the ignore length equality
  @param ignoreLastModified
  the ignore last modified
  @param ignoreNameEquality
  the ignore name equality
  
  @return the i file compare result bean