[sleuthkit-developers] Help Writing a Module - isMimeType() - SortedSet
Brought to you by:
carrier
From: Edes4ud K. <bee...@gm...> - 2018-06-14 00:47:10
|
Hello, I'm trying to write a module and I am running in to some problems and was wondering if anyone could help. My module is an ingest module. I would like it to run against any file with an image mimetype. I'm using the sample ingest module from the 1st tutorial as a model and I'm attempting to use: if file.isMimeType() I'm having difficulty with the parameter for isMimeType. It is supposed to be a sorted set. I guess I am confused on what a sorted set is and what format it should be in. I tried passing strings that were a mimetype but everything I tried fails. Has anyone had any success filtering files based on mimetype? Rod |