UDS API interface

To use the UDS API, the interface jet.datasource.JRUserDataSource must be implemented, and the class definition may be as follows:

import jet.datasource.*;
public class UserUDS 
    implements JRUserDataSource
{
    // Class body.
} 

Reference: JReport Designer Javadoc jet.datasource.JRUserDataSource class in <install_root>\help\designer\api.

The following are methods of the interface:

Public java.sql.ResultSet getResultSet(String strParam) throws JRUserDataSourceException

This method gets the result set for user data source.

Public void releaseResultSet() throws JRUserDataSourceException

This method frees the ResultSet object.