public class AttachmentFileNameCreationDateComparator extends Object implements Comparator<Attachment>
Compares attachments by file name first, and then creation date if the file names are the same.
File name comparison is handled using a
Collator}, so that the results are locale-aware.
|Constructor and Description|
Creates a new instance of this attachment comparator.
|Modifier and Type||Method and Description|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AttachmentFileNameCreationDateComparator(Locale userLocale)
userLocale- The locale to be used to determine order of the file names.
Copyright © 2002-2016 Atlassian. All Rights Reserved.