com.atlassian.confluence.util
Class AttachmentFileNameComparator

java.lang.Object
  extended by com.atlassian.confluence.util.AttachmentFileNameComparator
All Implemented Interfaces:
Comparator<Attachment>

public class AttachmentFileNameComparator
extends Object
implements Comparator<Attachment>

Comparator for Attachments based on file names in the given locale.


Constructor Summary
AttachmentFileNameComparator(Locale locale)
           
 
Method Summary
 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
 

Constructor Detail

AttachmentFileNameComparator

public AttachmentFileNameComparator(Locale locale)
Method Detail

compare

public int compare(Attachment first,
                   Attachment second)
Specified by:
compare in interface Comparator<Attachment>


Copyright © 2003-2013 Atlassian. All Rights Reserved.