Class ParisMatcher.FileNumberDescendingComparator
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.wrapper.ParisMatcher.FileNumberDescendingComparator
- All Implemented Interfaces:
Comparator<File>
- Enclosing class:
- ParisMatcher
Compare file names by containing numbers.
File names have to separated by undersore like 100_xyz.ext and 1_abx.ext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
private int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
FileNumberDescendingComparator
FileNumberDescendingComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<File>
-
extractNumber
-