public class TableReader extends java.lang.Object
String objects.| Constructor and Description |
|---|
TableReader() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[][] |
readTable(java.io.File file,
char separator) |
static java.lang.String[][] |
readTable(java.io.InputStream stream,
char separator)
Reads text data into a two dimensional array with
String objects. |
static java.lang.String[][] |
readTable(java.net.URL url,
char separator) |
public TableReader()
public static java.lang.String[][] readTable(java.net.URL url, char separator) throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String[][] readTable(java.io.File file, char separator) throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String[][] readTable(java.io.InputStream stream, char separator) throws java.io.IOException
String objects. If an empty file is read
the returned array has one element containing an empty String.stream - the stream to read the text data fromseparator - the column separatorjava.io.IOException - if an I/O error occurs