|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRUserDataSource
A JRUserDataSource provides data for JReport for generating reports. JRUserDataSource class is developed by user of JReport, and it can provide data from flat file, non-relational database, or application data. The data returned by this class is in ResultSet object, so user need create ResultSet instance and JReport will use the instance to fetch data. User can also creating their own ResultSet class.
Method Summary | |
---|---|
java.sql.ResultSet |
getResultSet(java.lang.String param)
Gets the data in ResultSet according to parameters. |
void |
releaseResultSet()
Release the data and related resources. |
Method Detail |
---|
java.sql.ResultSet getResultSet(java.lang.String param) throws JRUserDataSourceException
param,
- the parameter as input to specify the data.
JRUserDataSourceException
- if a data access error occursvoid releaseResultSet() throws JRUserDataSourceException
JRUserDataSourceException
- if a data access error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |