org.eclipse.gmt.modisco.java.generation.tests
Class JavaFileComparator

java.lang.Object
  extended by org.eclipse.gmt.modisco.java.generation.tests.JavaFileComparator
All Implemented Interfaces:
java.util.Comparator<java.io.File>

public class JavaFileComparator
extends java.lang.Object
implements java.util.Comparator<java.io.File>

Specific file comparator for java files generated : compare char by char, ignore white spaces (tab, line feeds, ...).


Constructor Summary
JavaFileComparator()
           
 
Method Summary
 int compare(java.io.File source, java.io.File target)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

JavaFileComparator

public JavaFileComparator()
Method Detail

compare

public final int compare(java.io.File source,
                         java.io.File target)
Specified by:
compare in interface java.util.Comparator<java.io.File>