public final class TextReader
extends java.io.InputStreamReader
| Constructor and Description |
|---|
TextReader(java.io.File file)
Reads a text file with the specified File object.
|
TextReader(java.io.InputStream stream)
Reads text data from an input stream.
|
TextReader(java.lang.String name)
Reads a text file with the specified system dependent file name.
|
public TextReader(java.io.InputStream stream)
public TextReader(java.lang.String name)
throws java.io.FileNotFoundException
name - the system dependent file name.java.io.FileNotFoundException - If the file is not found.public TextReader(java.io.File file)
throws java.io.FileNotFoundException
file - the file to be opened for reading.java.io.FileNotFoundException - If the file is not found.public int read()
throws java.io.IOException
read in class java.io.InputStreamReaderjava.io.IOException - If an I/O error occurs.public double[][] readArray()
throws java.io.IOException
java.io.IOException - If an I/O error occurs.