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");
100 boolean index(
AbstractFile sourceFile)
throws Ingester.IngesterException;
109 boolean setScripts(List<SCRIPT> extractScript);
116 List<SCRIPT> getScripts();
124 Map<String, String> getOptions();
131 void setOptions(Map<String, String> options);
140 boolean isContentTypeSpecific();
151 boolean isSupported(
AbstractFile file, String detectedFormat);