cds.sql
Class DisplayResultTSV

java.lang.Object
  extended bycds.sql.DisplayResult
      extended bycds.sql.DisplayResultTSV

public class DisplayResultTSV
extends DisplayResult

Display a result set as a TSV file

Version:
1.0 June 2003 1.1 July 2003 (SJ) : ajout des methodes display(...,nbToDisplay...) et display(...msg...)
Author:
Marc Wenger/CDS, Sylvaine Jaehn

Constructor Summary
DisplayResultTSV()
           
 
Method Summary
 void display(java.io.PrintStream p, ResultSetBean rs, boolean out)
          MOD-BB 08-01-04 Ajout de cette methode.
 void display(java.io.PrintStream p, ResultSetBean rs, int nbToDisplay, boolean out)
          MOD-BB 08-01-04 Ajout de cette methode.
 void display(java.io.PrintStream prt, java.sql.ResultSet result, boolean out)
          Dipslay the result set as a TSV file
 void display(java.io.PrintStream prt, java.sql.ResultSet result, int nbToDisplay, boolean out)
          Dipslay the result set as a TSV file
 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

DisplayResultTSV

public DisplayResultTSV()
Method Detail

display

public void display(java.io.PrintStream prt,
                    java.sql.ResultSet result,
                    boolean out)
Dipslay the result set as a TSV file

Specified by:
display in class DisplayResult
Parameters:
prt - output print stream
result - Result Set to display
out - if false, no display

display

public void display(java.io.PrintStream prt,
                    java.sql.ResultSet result,
                    int nbToDisplay,
                    boolean out)
Dipslay the result set as a TSV file

Specified by:
display in class DisplayResult
Parameters:
prt - output print stream
result - Result Set to display
nbToDisplay - number of lines to display
out - if false, no display

display

public void display(java.io.PrintStream prt,
                    java.lang.String msg,
                    boolean out)
Affichage d'un message sous forme d'une chaine de caracteres

Specified by:
display in class DisplayResult
Parameters:
prt - print stream
msg - message to display
out - false if the output should not occur

display

public void display(java.io.PrintStream p,
                    ResultSetBean rs,
                    boolean out)
MOD-BB 08-01-04 Ajout de cette methode.

Specified by:
display in class DisplayResult
Parameters:
p - output print stream
rs - Result Set to display
out - if false, no display

display

public void display(java.io.PrintStream p,
                    ResultSetBean rs,
                    int nbToDisplay,
                    boolean out)
MOD-BB 08-01-04 Ajout de cette methode.

Specified by:
display in class DisplayResult
Parameters:
p - output print stream
rs - Result Set to display
nbToDisplay - number of lines to display
out - if false, no display