I followed this question :
Now in my case I have 720 files named this way: "dom 24 mar 2013_00.50.35_128.txt", each file has a different date and time. In the testing phase, I used Scanner with a specific txt file to perform some operations on it:
Scanner s = new scanner (new file ("stuff.txt"));
My question is:
How can I reuse the scanner and read all 720 files without having to set the exact name on the scanner?
thanks
java
alessandrob
source share