Multiple wildcard queries for FileInfo.getFiles
Posted on 2004-03-26
In a strange twist, the FileInfo.getFiles method does not respond well to queries for multiple wildcards, say for all image files (*.bmp, *.jpg, *.gif, ...).
Using multiple wildcards simply returns nothing, which I find pretty strange since I would have expected the object's behavior to be closely tied to Window's native file search.
So is there a quick an easy way to do this, or do I have to do multiple queries for each file extension?