19 package org.sleuthkit.autopsy.keywordsearch;
21 import java.util.Arrays;
22 import java.util.List;
31 interface TextExtractor {
44 static final List<String> ARCHIVE_MIME_TYPES
47 "application/x-7z-compressed",
48 "application/x-ace-compressed",
49 "application/x-alz-compressed",
51 "application/vnd.ms-cab-compressed",
52 "application/x-cfs-compressed",
53 "application/x-dgc-compressed",
54 "application/x-apple-diskimage",
55 "application/x-gca-compressed",
59 "application/x-rar-compressed",
60 "application/x-stuffit",
61 "application/x-stuffitx",
63 "application/x-archive",
64 "application/x-executable",
72 "application/x-bzip2",
77 "application/x-compress");
91 AbstractFile getSourceFile();
102 boolean index(AbstractFile sourceFile)
throws Ingester.IngesterException;
112 boolean setScripts(List<SCRIPT> extractScript);
119 List<SCRIPT> getScripts();
127 Map<String, String> getOptions();
134 void setOptions(Map<String, String> options);
143 boolean isContentTypeSpecific();
155 boolean isSupported(AbstractFile file, String detectedFormat);