Hi I'm trying modify an application to read in text files and collect pieces of data from them to use as input for an application. The data I need to collect from the individual files include doubles, int, and strings of varying lengths depending upon individual text files. There is a lot of content in the files that I do not need to read. My questions are
1) Is it best to use FileReader or FileWriter?
2) Is there any other way to skip complete lines other that Reader's skip(long n) method?
3) What methods should I use collect only the data that I need considering that I won't know the length of the ints, doubles, and strings I am trying to collect?
Thanks so much