I am trying to use the SAF collector in my application to search for my custom file types. Doing this is simple enough when the file is of type mime, calling setType ("text / plain") or similar.
What would a call look like if I wanted to search, say, all files with the extension ".blah"?
Edit : additional information: file type is a regular text file with a changed extension. There is some text in the file that I parse to create some data structure from it. However, when a user searches for a file of a specific extension, I would like them to see only my user files, and not all text files.
wujek source
share