Re: Reading in text and casting it

From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 08/09/04


Date: Mon, 09 Aug 2004 21:57:46 GMT

On 9 Aug 2004 07:30:57 -0700, neosenate wrote:

> At the moment i've got
>
> StreamTokenizer in = new StreamTokenizer(new
> FileReader(filename.txt));

<http://www.physci.org/codes/sscce.jsp>

> ...i get an error saying
> that i cannot cast a non-static variable.

<http://www.physci.org/codes/javafaq.jsp#exact>

> some of the input data in the file looks like this... "13.5 8.2
..
> Any help would be greatly appreciated,

<http://www.physci.org/codes/javafaq.jsp#cljh>

-- 
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology