Static Public Member Functions | |
static void | SkipLine (FileReader in) throws ModelException |
Advances a file stream to the beginning of the next line. | |
static Vector | ReadLine (FileReader in) throws java.io.IOException |
Reads a line from a tab-delimited text file. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
static Vector javawrapper::ModelFileFunctions::ReadLine | ( | FileReader | in | ) | throws java.io.IOException [inline, static] |
Reads a line from a tab-delimited text file.
Each cell in the line is placed in a separate bucket of a Vector. The file stream is then advanced to the beginning of the next line.
in | The file stream to read from. |
java.io.IOException | - passthru from FileReader |
static void javawrapper::ModelFileFunctions::SkipLine | ( | FileReader | in | ) | throws ModelException [inline, static] |
Advances a file stream to the beginning of the next line.
in | The file stream to advance. |
ModelException | with error code TAB_PAR_FILE_PREMATURE_END if the input stream is currently at end of file. Reaching the end of file after that point will not cause this exception to be thrown. |