For example i have 3 text file in a location called C:\DEMO,
all the three text files has time stamp in their names, the names of these files are 20150401103917000_M.txt, 20150402131208000_S.txt,20150330064916000_V.txt
Now the requirement is to read these text files from my java program, but the condition is one file is already read by java program, i need to exclude that already read file and read the remaining two files,
How i will achieve this?
posted 1 year ago
How do you know which one to ignore. Is it the one with a given name, creation date, the oldest, the newest or something else altogether.