|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SceneReader
A class to read values from a file, URL or stream
Method Summary | |
void |
close()
Close the file when finished |
boolean |
eof()
Return true if the end of file has been reached. |
char |
readChar()
Read a char value from file. |
double |
readDouble()
Read a double value from file. |
float |
readFloat()
Read a float value from file. |
int |
readInt()
Read an int value from file. |
long |
readLong()
Read a long value from file. |
java.lang.String |
readString()
Read an String value from file. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public void close() throws java.io.IOException
public boolean eof()
true
if the end of file has been reached.public final int readInt() throws java.io.IOException, java.lang.NumberFormatException
int
value from file.public final long readLong() throws java.io.IOException, java.lang.NumberFormatException
long
value from file.public final double readDouble() throws java.io.IOException, java.lang.NumberFormatException
double
value from file.public final float readFloat() throws java.io.IOException, java.lang.NumberFormatException
float
value from file.public final char readChar() throws java.io.IOException
char
value from file.public final java.lang.String readString() throws java.io.IOException
String
value from file.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |