I've been learning java for few days, and I've created a simple code using File class, which returns array of files in specified directory. So I have a question: is there any easy way to return array of ALL files in whole directory, here's an example:
in path c:/ProgramFiles/ there are:
1) dir1 (which has)
and so on.
So is there any solution how to return all the files/directories (including subfiles and subdirectories)? I would appreciate any hints