net.sf.jasperreports.engine.fill

## Class DatasetSortUtil

- java.lang.Object
- - net.sf.jasperreports.engine.fill.DatasetSortUtil

-     public class DatasetSortUtil
      extends java.lang.Object

  Version:
    $Id: DatasetSortUtil.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DatasetSortUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static JRSortField[]` | `getAllSortFields(JRFillDataset dataset)` Returns all current sort field criteria, including the dynamic ones provided as report parameter.
    `static SortedDataSource` | `getSortedDataSource(JRBaseFiller filler, JRFillDataset dataset, java.util.Locale locale)`
    `static boolean` | `needSorting(JRFillDataset dataset)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DatasetSortUtil

          public DatasetSortUtil()

  - ### Method Detail

    - #### getAllSortFields

          public static JRSortField[] getAllSortFields(JRFillDataset dataset)

      Returns all current sort field criteria, including the dynamic ones provided as report parameter.

    - #### needSorting

          public static boolean needSorting(JRFillDataset dataset)

    - #### getSortedDataSource

          public static SortedDataSource getSortedDataSource(JRBaseFiller filler,
                                             JRFillDataset dataset,
                                             java.util.Locale locale)
                                                      throws JRException

      Throws:
        `JRException`

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com