ListOfArrayDataSource and DatasetSortUtil.public class JRSortableDataSource extends Object implements JRRewindableDataSource
| Modifier and Type | Field and Description |
|---|---|
protected Collator |
collator
Deprecated.
|
static String |
EXCEPTION_MESSAGE_KEY_SORT_FIELD_NOT_FOUND
Deprecated.
|
| Constructor and Description |
|---|
JRSortableDataSource(JRDataSource ds,
JRField[] fields,
JRSortField[] sortFields,
Locale locale)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getFieldValue(JRField jrField)
Deprecated.
Gets the field value for the current position.
|
void |
moveFirst()
Deprecated.
Moves back to the first element in the data source.
|
boolean |
next()
Deprecated.
Tries to position the cursor on the next element in the data source.
|
static void |
verifySortFields(JRField[] fields,
JRSortField[] sortFields)
Deprecated.
|
public static final String EXCEPTION_MESSAGE_KEY_SORT_FIELD_NOT_FOUND
protected Collator collator
public JRSortableDataSource(JRDataSource ds, JRField[] fields, JRSortField[] sortFields, Locale locale) throws JRException
JRExceptionpublic boolean next()
JRDataSourcenext in interface JRDataSourcepublic Object getFieldValue(JRField jrField)
JRDataSourcegetFieldValue in interface JRDataSourcepublic void moveFirst()
JRRewindableDataSourcemoveFirst in interface JRRewindableDataSourcepublic static void verifySortFields(JRField[] fields, JRSortField[] sortFields)
Copyright © 2017. All rights reserved.