java.lang.Object | +--Input
Constructor Summary | |
Input()
|
Method Summary | |
java.lang.String |
convert(int number)
Takes a number a converts it to its english counterpart |
static int |
convertBaseTwo(java.lang.String s)
Read a string representation of a binary number and converts to base10 |
static double |
readDouble()
Read a double value from the keyboard |
static float |
readFloat()
Read a float value from the keyboard |
static int |
readInt()
Read an int value from the keyboard |
static long |
readLong()
Read a long value for the keyboard |
static java.lang.String |
readString()
Read a string from the keyboard |
static java.lang.StringBuffer |
readStringBuffer()
Read an string from the keyboard and put into a StringBuffer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Input()
Method Detail |
public static java.lang.String readString()Read a string from the keyboard
public static java.lang.StringBuffer readStringBuffer()
public static int readInt()
public static double readDouble()
public static float readFloat()Read a float value from the keyboard
public static long readLong()Read a long value for the keyboard
public static int convertBaseTwo(java.lang.String s)Read a string representation of a binary number and converts to base10
public java.lang.String convert(int number) Takes a number and converts it to its english counterpart