R
Rhino
Can anyone point me to an example of Java code that searches for all the
files within a given Windows directory (and doesn't recurse into
subdirectories) and then stores the file names in some kind of array or
collection? For example, if my directory was c:\foo, it would store a list
of all the files found in the foo directory.
I've lost most of my old code examples due to a hard drive crash and feel
sure that this kind of code must have been done umpteen times before. I'll
write it from scratch if I have to but I'm hoping some kind soul can point
me to an example or just post it directly....
files within a given Windows directory (and doesn't recurse into
subdirectories) and then stores the file names in some kind of array or
collection? For example, if my directory was c:\foo, it would store a list
of all the files found in the foo directory.
I've lost most of my old code examples due to a hard drive crash and feel
sure that this kind of code must have been done umpteen times before. I'll
write it from scratch if I have to but I'm hoping some kind soul can point
me to an example or just post it directly....