All Packages Class Hierarchy This Package Previous Next Index
Class utils.LineListTokenizer
java.lang.Object
|
+----java.io.StreamTokenizer
|
+----utils.LineListTokenizer
- public class LineListTokenizer
- extends StreamTokenizer
File reading utility -- converts each non-empty line to a word list
-
LineListTokenizer(Reader)
-
-
LineListTokenizer(String)
-
-
list()
- Parse the next non-empty line into an array of strings.
-
main(String[])
- Test the class.
LineListTokenizer
public LineListTokenizer(String file) throws FileNotFoundException
LineListTokenizer
public LineListTokenizer(Reader input)
list
public String[] list() throws Exception
- Parse the next non-empty line into an array of strings.
Result is null when EOF, and otherwise has at least one element.
main
public static void main(String args[]) throws Exception
- Test the class.
All Packages Class Hierarchy This Package Previous Next Index