myio
Class SystemIO
java.lang.Object
myio.SystemIO
public class SystemIO
- extends java.lang.Object
Method Summary |
static double |
readDouble(java.lang.String msg,
java.io.BufferedReader theStream,
double min,
double max)
|
static int |
readInt(java.lang.String msg,
java.io.BufferedReader theStream,
int min,
int max)
|
static boolean |
ynQuestion(java.lang.String msg,
java.io.BufferedReader theStream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemIO
public SystemIO()
ynQuestion
public static boolean ynQuestion(java.lang.String msg,
java.io.BufferedReader theStream)
throws java.io.IOException
- Throws:
java.io.IOException
readInt
public static int readInt(java.lang.String msg,
java.io.BufferedReader theStream,
int min,
int max)
throws java.io.IOException
- Throws:
java.io.IOException
readDouble
public static double readDouble(java.lang.String msg,
java.io.BufferedReader theStream,
double min,
double max)
throws java.io.IOException
- Throws:
java.io.IOException