DBAbstract API Documentation

ro.raducora.utils.io
Class Read

java.lang.Object
  |
  +--ro.raducora.utils.io.Read

public class Read
extends java.lang.Object

Author:
Radu Coravu

Constructor Summary
Read()
           
 
Method Summary
static java.lang.String Line()
          Reads single lines from console
static java.lang.String Line(java.lang.String toPrint)
          Reads single lines from console but first prints the message toPrint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Read

public Read()
Method Detail

Line

public static java.lang.String Line()
Reads single lines from console

Returns:
String the read line

Line

public static java.lang.String Line(java.lang.String toPrint)
Reads single lines from console but first prints the message toPrint

Parameters:
toPrint - the message to print
Returns:
String the read line

DBAbstract API Documentation

© Copyright Radu Coravu 2002 - 2004.