Hi,
I have written a program using StringTokenizer.It takes a
string and breaks it into tokens.The argument for StringTokenizer is a String.And this if working fine.
My question is ..
I want to input a text file from command line and read the text file and after performing some operation output the results to a text file. I am new to
java, can any body tell as to which methods/classes to use?
If i use FileInputStream , i am getting the following error
Incompatible type for constructor. Can't convert java.io.FileInputStream to java.lang.String.
StringTokenizer st = new StringTokenizer(fromFile);
can anyone tell me whats wrong??
thanks
sagarika