TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.tools.internal
Class DResultSetContentProvider

java.lang.Object
  extended by org.eclipse.tptp.platform.report.tools.internal.DResultSetContentProvider
All Implemented Interfaces:
IDTableContentProvider

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class DResultSetContentProvider
extends java.lang.Object
implements IDTableContentProvider

This class provides a tool to map a String array with two dimentions to a table content provider.


Constructor Summary
DResultSetContentProvider(java.sql.ResultSet rset)
          Deprecated. creates a new table content provider mapped on java sql request result
 
Method Summary
 int getColumnCount()
          Deprecated.  
 java.sql.ResultSet getContent()
          Deprecated.  
 int getRowCount()
          Deprecated.  
 java.lang.String getText(int row, int column)
          Deprecated.  
 void setColumnFormat(int column, com.ibm.icu.text.UFormat f)
          Deprecated. sets a com.ibm.icu.text.UFormat for the column
 void setContent(java.sql.ResultSet content)
          Deprecated. sets the string array mapped by the table content provider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DResultSetContentProvider

public DResultSetContentProvider(java.sql.ResultSet rset)
Deprecated. 
creates a new table content provider mapped on java sql request result

Method Detail

getColumnCount

public int getColumnCount()
Deprecated. 
Specified by:
getColumnCount in interface IDTableContentProvider
Returns:
the number of element
See Also:
IDTableContentProvider.getColumnCount()

getRowCount

public int getRowCount()
Deprecated. 
Specified by:
getRowCount in interface IDTableContentProvider
Returns:
the number of element
See Also:
IDTableContentProvider.getRowCount()

getText

public java.lang.String getText(int row,
                                int column)
Deprecated. 
Specified by:
getText in interface IDTableContentProvider
Returns:
the text for the cell at coordinate row, column
See Also:
IDTableContentProvider.getText(int, int)

getContent

public java.sql.ResultSet getContent()
Deprecated. 
Returns:
the original array mapped by the table content provider

setContent

public void setContent(java.sql.ResultSet content)
Deprecated. 
sets the string array mapped by the table content provider


setColumnFormat

public void setColumnFormat(int column,
                            com.ibm.icu.text.UFormat f)
Deprecated. 
sets a com.ibm.icu.text.UFormat for the column


TPTP 4.6.0 Platform Project
Internal API Specification