|
Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
| static List< Result > | getFilesInGroup (String userName, List< AbstractFilter > filters, AttributeType groupAttributeType, Group.GroupSortingAlgorithm groupSortingType, ResultsSorter.SortingMethod fileSortingMethod, GroupKey groupKey, int startingEntry, int numberOfEntries, SleuthkitCase caseDb, CentralRepository centralRepoDb) throws DiscoveryException |
| static Map< GroupKey, Integer > | getGroupSizes (String userName, List< AbstractFilter > filters, AttributeType groupAttributeType, Group.GroupSortingAlgorithm groupSortingType, ResultsSorter.SortingMethod fileSortingMethod, SleuthkitCase caseDb, CentralRepository centralRepoDb) throws DiscoveryException |
| static TextSummary | summarize (AbstractFile file) |
Private Member Functions | |
| FileSearch () | |
Static Private Member Functions | |
| static void | addAttributes (List< AttributeType > attrs, List< Result > results, SleuthkitCase caseDb, CentralRepository centralRepoDb) throws DiscoveryException |
| static Map< GroupKey, List< Result > > | runFileSearch (String userName, List< AbstractFilter > filters, AttributeType groupAttributeType, Group.GroupSortingAlgorithm groupSortingType, ResultsSorter.SortingMethod fileSortingMethod, SleuthkitCase caseDb, CentralRepository centralRepoDb) throws DiscoveryException |
Static Private Attributes | |
| static final Logger | logger = Logger.getLogger(FileSearch.class.getName()) |
| static final int | MAXIMUM_CACHE_SIZE = 10 |
| static final Cache< SearchKey, Map< GroupKey, List< Result > > > | searchCache |
Main class to perform the file search.
Definition at line 44 of file FileSearch.java.
|
private |
Definition at line 308 of file FileSearch.java.
|
staticprivate |
Add any attributes corresponding to the attribute list to the given result files. For example, specifying the KeywordListAttribute will populate the list of keyword set names in the ResultFile objects.
| attrs | The attributes to add to the list of result files |
| results | The result files |
| caseDb | The case database |
| centralRepoDb | The central repository database. Can be null if not needed. |
| DiscoveryException |
Definition at line 301 of file FileSearch.java.
Referenced by org.sleuthkit.autopsy.discovery.search.FileSearch.runFileSearch().
|
static |
Get the files from the specified group from the cache, if the the group was not cached perform a search caching the groups.
| userName | The name of the user performing the search. |
| filters | The filters to apply |
| groupAttributeType | The attribute to use for grouping |
| groupSortingType | The method to use to sort the groups |
| fileSortingMethod | The method to use to sort the files within the groups |
| groupKey | The key which uniquely identifies the group to get entries from |
| startingEntry | The first entry to return |
| numberOfEntries | The number of entries to return |
| caseDb | The case database |
| centralRepoDb | The central repository database. Can be null if not needed. |
| DiscoveryException |
Definition at line 159 of file FileSearch.java.
References org.sleuthkit.autopsy.discovery.search.FileSearch.runFileSearch(), and org.sleuthkit.autopsy.discovery.search.FileSearch.searchCache.
|
static |
Run the file search to get the group keys and sizes. Clears cache of search results, caching new results for access at later time.
| userName | The name of the user performing the search. |
| filters | The filters to apply |
| groupAttributeType | The attribute to use for grouping |
| groupSortingType | The method to use to sort the groups |
| fileSortingMethod | The method to use to sort the files within the groups |
| caseDb | The case database |
| centralRepoDb | The central repository database. Can be null if not needed. |
| DiscoveryException |
Definition at line 122 of file FileSearch.java.
References org.sleuthkit.autopsy.discovery.search.FileSearch.runFileSearch().
|
staticprivate |
Run the file search. Caching new results for access at later time.
| userName | The name of the user performing the search. |
| filters | The filters to apply |
| groupAttributeType | The attribute to use for grouping |
| groupSortingType | The method to use to sort the groups |
| fileSortingMethod | The method to use to sort the files within the groups |
| caseDb | The case database |
| centralRepoDb | The central repository database. Can be null if not needed. |
| DiscoveryException |
Definition at line 255 of file FileSearch.java.
References org.sleuthkit.autopsy.discovery.search.FileSearch.addAttributes(), and org.sleuthkit.autopsy.discovery.search.FileSearch.searchCache.
Referenced by org.sleuthkit.autopsy.discovery.search.FileSearch.getFilesInGroup(), and org.sleuthkit.autopsy.discovery.search.FileSearch.getGroupSizes().
|
static |
Get a summary for the specified AbstractFile. If no TextSummarizers exist get the beginning of the file.
| file | The AbstractFile to summarize. |
Definition at line 216 of file FileSearch.java.
References org.sleuthkit.autopsy.textsummarizer.TextSummary.getSummaryText(), org.sleuthkit.autopsy.discovery.search.FileSearch.searchCache, and org.sleuthkit.autopsy.textsummarizer.TextSummarizer.summarize().
Referenced by org.sleuthkit.autopsy.discovery.ui.ResultsPanel.DocumentPreviewWorker.doInBackground().
|
staticprivate |
Definition at line 46 of file FileSearch.java.
|
staticprivate |
Definition at line 47 of file FileSearch.java.
|
staticprivate |
Definition at line 48 of file FileSearch.java.
Referenced by org.sleuthkit.autopsy.discovery.search.FileSearch.getFilesInGroup(), org.sleuthkit.autopsy.discovery.search.FileSearch.runFileSearch(), and org.sleuthkit.autopsy.discovery.search.FileSearch.summarize().
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.