public class ResultSetCollectorPrinter extends Object
| Constructor and Description |
|---|
ResultSetCollectorPrinter()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResultSetToPrint(ResultSetCollector resultSetCollector)
Return a table which represents a
ResultSet,
to be printed by a logger,
based on the content of the provided resultSetCollector. |
public String getResultSetToPrint(ResultSetCollector resultSetCollector)
ResultSet,
to be printed by a logger,
based on the content of the provided resultSetCollector.
This method will be actually called by a SpyLogDelegator
when the next() method of the spied ResultSet
return false meaning that its end is reached.
It will be also called if the ResultSet is closed.resultSetCollector - the ResultSetCollector which has collected the data we want to printString which contains the formatted table to printResultSetSpy,
DefaultResultSetCollector,
SpyLogDelegatorCopyright © 2013 Bgee - Swiss Institute of Bioinformatics. All Rights Reserved.