mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
list of user defined types
This commit is contained in:
parent
000d56188b
commit
93607c7bb1
@ -273,4 +273,18 @@ public class FileTypeDetector {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the list of user defined file types (MIME types)
|
||||||
|
*
|
||||||
|
* @return the List<String> of user defined file types
|
||||||
|
*/
|
||||||
|
public List<String> getUserDefinedTypes() {
|
||||||
|
List<String> list = new ArrayList<>();
|
||||||
|
if (userDefinedFileTypes != null) {
|
||||||
|
for (FileType fileType : userDefinedFileTypes) {
|
||||||
|
list.add(fileType.getMimeType());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return list;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user