|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcds.sql.DisplayResult
cds.sql.DisplayResultTable
Display a result set as an ascii table
| Constructor Summary | |
DisplayResultTable()
Constructor |
|
| Method Summary | |
private java.lang.String |
buildLine(int[] w,
java.lang.String[] str)
Build a result line from an array of width and an array of strings. |
void |
display(java.io.PrintStream p,
ResultSetBean rs,
boolean out)
MOD-BB 08-01-04 Affiche un ResultSetBean. |
void |
display(java.io.PrintStream p,
ResultSetBean rs,
int nbToDisplay,
boolean out)
MOD-BB 08-01-04 Affiche un ResultSetBean. |
void |
display(java.io.PrintStream prt,
java.sql.ResultSet result,
boolean out)
Display the result set in table format |
void |
display(java.io.PrintStream prt,
java.sql.ResultSet result,
int nbToDisplay,
boolean out)
Display the result set in table format |
void |
display(java.io.PrintStream prt,
java.lang.String msg,
boolean out)
Affichage d'un message sous forme d'une chaine de caracteres |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DisplayResultTable()
| Method Detail |
public void display(java.io.PrintStream prt,
java.sql.ResultSet result,
boolean out)
display in class DisplayResultprt - output print streamresult - Result Set to displayout - false if the output should not be done
public void display(java.io.PrintStream prt,
java.sql.ResultSet result,
int nbToDisplay,
boolean out)
display in class DisplayResultprt - output print streamresult - Result Set to displaynbToDisplay - number of lines to displayout - false if the output should not be done
private java.lang.String buildLine(int[] w,
java.lang.String[] str)
w - array of widths (expressed in number of chars)str - array of strings to display
public void display(java.io.PrintStream prt,
java.lang.String msg,
boolean out)
display in class DisplayResultprt - print streammsg - message to displayout - false if the output should not occur
public void display(java.io.PrintStream p,
ResultSetBean rs,
boolean out)
DisplayResult
display in class DisplayResultp - defines a printstreamrs - resultset to displayout - if false, no output will occur
public void display(java.io.PrintStream p,
ResultSetBean rs,
int nbToDisplay,
boolean out)
DisplayResult
display in class DisplayResultp - defines a printstreamrs - resultset to displaynbToDisplay - number of lines to displayout - if false, no output will occur
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||