net.sf.jasperreports.engine.fill
Class DatasetSortUtil

java.lang.Object
  extended by net.sf.jasperreports.engine.fill.DatasetSortUtil

public class DatasetSortUtil
extends java.lang.Object

Version:
$Id: DatasetSortUtil.java 5221 2012-04-04 14:08:30Z lucianc $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Constructor Summary
DatasetSortUtil()
           
 
Method Summary
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