framework.util
Class JAConsole

java.lang.Object
  extended by framework.util.JAConsole

public class JAConsole
extends java.lang.Object


Method Summary
static byte readByte()
           
static char readChar()
           
static double readDouble()
           
static float readFloat()
           
static int readInt()
           
static java.lang.String readLine()
          Lee una linea completa, hasta que se presione [ENTER] por consola y retorna la linea leida
static long readLong()
           
static short readShort()
           
static java.lang.String readString()
          Lee un String por consola y retorna en String leido.
static java.lang.String readString(int n)
          Lee un String por consola de longitud fija, exactamente de n caracteres
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readByte

public static byte readByte()

readChar

public static char readChar()

readString

public static java.lang.String readString(int n)
Lee un String por consola de longitud fija, exactamente de n caracteres


readString

public static java.lang.String readString()
Lee un String por consola y retorna en String leido. Si el String tiene mas de una palabra entonces debe ir encerrado entre comillas dobles


readShort

public static short readShort()

readInt

public static int readInt()

readLong

public static long readLong()

readFloat

public static float readFloat()

readDouble

public static double readDouble()

readLine

public static java.lang.String readLine()
Lee una linea completa, hasta que se presione [ENTER] por consola y retorna la linea leida