anderix.io
Class Console

java.lang.Object
  extended by anderix.io.Console

public class Console
extends java.lang.Object


Method Summary
static java.lang.String readln()
           
static java.lang.String readln(java.lang.String prompt)
           
static java.lang.String readPassword(java.lang.String prompt)
           
static void write(boolean b)
           
static void write(byte b)
           
static void write(char c)
           
static void write(double d)
           
static void write(float f)
           
static void write(int i)
           
static void write(long n)
           
static void write(java.lang.Object o)
           
static void write(short s)
           
static void write(java.lang.String txt)
           
static void writeln()
           
static void writeln(boolean b)
           
static void writeln(byte b)
           
static void writeln(char c)
           
static void writeln(double d)
           
static void writeln(float f)
           
static void writeln(int i)
           
static void writeln(long n)
           
static void writeln(java.lang.Object o)
           
static void writeln(short s)
           
static void writeln(java.lang.String txt)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public static void write(boolean b)

write

public static void write(byte b)

write

public static void write(short s)

write

public static void write(char c)

write

public static void write(int i)

write

public static void write(long n)

write

public static void write(float f)

write

public static void write(double d)

write

public static void write(java.lang.Object o)

write

public static void write(java.lang.String txt)

writeln

public static void writeln()

writeln

public static void writeln(boolean b)

writeln

public static void writeln(byte b)

writeln

public static void writeln(short s)

writeln

public static void writeln(char c)

writeln

public static void writeln(int i)

writeln

public static void writeln(long n)

writeln

public static void writeln(float f)

writeln

public static void writeln(double d)

writeln

public static void writeln(java.lang.Object o)

writeln

public static void writeln(java.lang.String txt)

readln

public static java.lang.String readln()

readln

public static java.lang.String readln(java.lang.String prompt)

readPassword

public static java.lang.String readPassword(java.lang.String prompt)
Parameters:
prompt - The prompt to display to the user
Returns:
The password as entered by the user