|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.data.JRSortableDataSource
ListOfArrayDataSource
and DatasetSortUtil
.
public class JRSortableDataSource
This data source implementation is now deprecated because it does not know about sorting on dataset variables and should no longer be used. It will be removed from the library in future versions.
Field Summary | |
---|---|
protected java.text.Collator |
collator
Deprecated. |
Constructor Summary | |
---|---|
JRSortableDataSource(JRDataSource ds,
JRField[] fields,
JRSortField[] sortFields,
java.util.Locale locale)
Deprecated. |
Method Summary | |
---|---|
java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.text.Collator collator
Constructor Detail |
---|
public JRSortableDataSource(JRDataSource ds, JRField[] fields, JRSortField[] sortFields, java.util.Locale locale) throws JRException
JRException
Method Detail |
---|
public boolean next()
JRDataSource
next
in interface JRDataSource
public java.lang.Object getFieldValue(JRField jrField)
JRDataSource
getFieldValue
in interface JRDataSource
public void moveFirst()
JRRewindableDataSource
moveFirst
in interface JRRewindableDataSource
public static void verifySortFields(JRField[] fields, JRSortField[] sortFields)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |