about FileReader and BufferedReader - to read multiple files
hello all experts,
i'm just new to java and have an assignment.
can somebody tell me what method to use to read multiple files.
let's say i have 4 files ; 'file_01.dat', 'file_02.dat', 'file_03' and 'file_04.dat'. For each file, they have their unique data..let's say for 'file_01.dat' contains data '0.1234', file_02.dat' contains data value '0.5455' and so on. (Every data is in String datatype).
I want to get all the data value (for all files) by writing all filenames lines by lines (file01.dat - file02.dat) and put it in a new file called 'File_List.dat'. I've used BufferedReader to read every line for that 'File_List.dat. and it shows only the file names I've written before.
My problem is, i want to get every value (data) from every files and not the file names. Can somebody help me? I hope my text is clear enough because i'm not good in english writing.
thanks for the help .have a nice day ^_^