20 package org.sleuthkit.autopsy.commonpropertiessearch;
23 import org.openide.util.NbBundle;
31 private static final String
WHERE_CLAUSE =
"%s md5 in (select md5 from tsk_files where (known != " + FileKnown.KNOWN.getFileKnownValue() +
" OR known IS NULL)%s GROUP BY md5 HAVING COUNT(DISTINCT data_source_obj_id) > 1) order by md5";
45 super(dataSourceIdMap, filterByMediaMimeType, filterByDocMimeType, percentageThreshold);
51 Object[] args =
new String[]{SELECT_PREFIX, determineMimeTypeFilter()};
52 return String.format(WHERE_CLAUSE, args);
56 "# {0} - build category",
57 "# {1} - threshold string",
58 "AllIntraCaseCommonAttributeSearcher.buildTabTitle.titleIntraAll=Common Properties (All Data Sources, {0}{1})"
61 String getTabTitle() {
62 return Bundle.AllIntraCaseCommonAttributeSearcher_buildTabTitle_titleIntraAll(this.buildCategorySelectionString(), this.getPercentThresholdString());
AllIntraCaseCommonAttributeSearcher(Map< Long, String > dataSourceIdMap, boolean filterByMediaMimeType, boolean filterByDocMimeType, int percentageThreshold)
static final String WHERE_CLAUSE
String buildSqlSelectStatement()