Directory Iterator multiple file types


#1

Hi All,

I’ve been using the directory iterator to search through a file for one file type *.mp3 and it works fine, but when you try to add others in a similar way to the file chooser it no longer works.

Is it possible for the directory iterator to use the WildcardFileFilter instead of the string matchesWildcard?

Thanks


#2

Thanks, good request - I should add that.


#3

Thanks Jules,

I’ve been using it throughout my application for mp3s, but I’ve just started to allow other file formats.
I used the getWildcardForAllFormats() function and then realised it didn’t work