Class AttachmentComparator

java.lang.Object
com.atlassian.confluence.util.AttachmentComparator
All Implemented Interfaces:
Comparator

public class AttachmentComparator extends Object implements Comparator
  • Field Details

  • Constructor Details

    • AttachmentComparator

      public AttachmentComparator(String sortBy, boolean reverse)
      Create an AttachmentComparator that will sort by the specified field.
      Parameters:
      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.
  • Method Details