java.lang.Object | |
↳ | com.atlassian.confluence.util.AttachmentComparator |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | COMMENT_SORT | ||||||||||
String | CREATION_DATE_SORT | ||||||||||
String | FILENAME_SORT | ||||||||||
String | MODIFICATION_DATE_SORT | ||||||||||
String | SIZE_SORT |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create an AttachmentComparator that will sort by the specified field.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||
From interface
java.util.Comparator
|
Create an AttachmentComparator that will sort by the specified field.
sortBy | the field to sort on. If null, or unknown then the default behaviour will be to sort on name. |
---|---|
reverse | reverse the order of the sort. |