public class DeploymentComparator extends Object implements Comparator<File>
Constructor and Description |
---|
DeploymentComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(File f1,
File f2)
Compare two files to see which should be deployed first based on file
extension.
|
List<String> |
getFileExtensions()
Get the possible file extensions.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(File f1, File f2)
compare
in interface Comparator<File>
f1
- the first file to comparef2
- the second file to compareCopyright © 2019. All rights reserved.