Class Input

java.lang.Object
  |
  +--Input

public class Input
extends java.lang.Object


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

Input

public Input()
Method Detail

readString

public static java.lang.String readString()
 Read a string from the keyboard

readStringBuffer

public static java.lang.StringBuffer readStringBuffer()
Read an string from the keyboard and put into a StringBuffer


readInt

public static int readInt()
Read an int value from the keyboard


readDouble

public static double readDouble()
Read a double value from the keyboard


readFloat

public static float readFloat()
 Read a float value from the keyboard

readLong

public static long readLong()
  Read a long value for the keyboard

convertBaseTwo

public static int convertBaseTwo(java.lang.String s)
Read a string representation of a binary number and converts to base10  

convert

public java.lang.String convert(int number)


Takes a number and converts it to its english counterpart