public class AttachmentFileNameComparator extends Object implements Comparator<Attachment>
Compares attachments based on the file's name.
The comparison is handled using a
Collator}, so that the results are locale-aware.
|Constructor and Description|
Creates a new instance of this comparator with the provided locale
|Modifier and Type||Method and Description|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AttachmentFileNameComparator(Locale userLocale)
userLocale- The locale to be used to determine order of the file names.
Copyright © 2002-2017 Atlassian. All Rights Reserved.