static class GenerateCopyrights.FileNameComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.String>
Constructor and Description |
---|
FileNameComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.String a,
java.lang.String b)
Compare to Strings that should represent files by the name of the file.
|
public int compare(java.lang.String a, java.lang.String b)
compare
in interface java.util.Comparator<java.lang.String>
a
- The first file name.b
- The second file name.