|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--utilities.MyInputStream
Constructor Summary | |
MyInputStream()
Constructor to set up BufferedReader for standard input stream System.in. |
|
MyInputStream(java.lang.String fileName)
Constructor to set up BufferedReader for input from a file. |
Method Summary | |
void |
flushCurrentLine()
Discard remainder of current line. |
static void |
main(java.lang.String[] args)
test program |
boolean |
readBoolean()
Input a boolean. |
byte |
readByte()
Input a byte. |
double |
readDouble()
Input a double. |
float |
readFloat()
Input a float. |
int |
readInteger()
Input an integer. |
long |
readLong()
Input a long. |
short |
readShort()
Input a short. |
java.lang.String |
readString()
Input a string. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public MyInputStream()
public MyInputStream(java.lang.String fileName)
Method Detail |
public void flushCurrentLine()
public int readInteger()
public long readLong()
public short readShort()
public byte readByte()
public float readFloat()
public double readDouble()
public java.lang.String readString()
public boolean readBoolean()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |