E
elektrophyte
Has anybody worked with the Jakarta Commons IO File utilities? I am
trying to get an ArrayList of Files with names that match a String. I'm
searching recursively in a directory and subdirs.
Here is my code:
Collection docs = FileUtils.listFiles(
documentDir,
FileFilterUtils.nameFileFilter(filterString),
TrueFileFilter.INSTANCE);
The Collection "docs" always winds up with nothing in it.
Any help would be greatly appreciated.
Thanks,
E
trying to get an ArrayList of Files with names that match a String. I'm
searching recursively in a directory and subdirs.
Here is my code:
Collection docs = FileUtils.listFiles(
documentDir,
FileFilterUtils.nameFileFilter(filterString),
TrueFileFilter.INSTANCE);
The Collection "docs" always winds up with nothing in it.
Any help would be greatly appreciated.
Thanks,
E