Package com.atlassian.confluence.util
Class AttachmentFileNameComparator
- java.lang.Object
-
- com.atlassian.confluence.util.AttachmentFileNameComparator
-
- All Implemented Interfaces:
Comparator<Attachment>
public class AttachmentFileNameComparator extends Object implements Comparator<Attachment>
Comparator forAttachment
s based on file names in the given locale.
-
-
Constructor Summary
Constructors Constructor Description AttachmentFileNameComparator(Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Attachment first, Attachment second)
-
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 Detail
-
AttachmentFileNameComparator
public AttachmentFileNameComparator(Locale locale)
-
-
Method Detail
-
compare
public int compare(Attachment first, Attachment second)
- Specified by:
compare
in interfaceComparator<Attachment>
-
-