Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits SwingWorker< R, Void >.
Classes | |
class | DataFetchComponents |
Public Member Functions | |
DataFetchWorker (DataFetchComponents< A, R > components, A args) | |
DataFetchWorker (DataFetcher< A, R > processor, Consumer< DataFetchResult< R >> resultHandler, A args) | |
Protected Member Functions | |
R | doInBackground () throws Exception |
void | done () |
Private Attributes | |
final A | args |
final DataFetcher< A, R > | processor |
final Consumer< DataFetchResult< R > > | resultHandler |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(DataFetchWorker.class.getName()) |
static final int | MAX_INNER_EXCEPTION_DEPTH = 100 |
A Swing worker that accepts an argument of a data fetcher and a result handler. If the data fetcher throws an InterruptedException, it is treated as a cancellation and not passed to the result handler.
Definition at line 32 of file DataFetchWorker.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.DataFetchWorker | ( | DataFetchComponents< A, R > | components, |
A | args | ||
) |
Main constructor for this swing worker.
components | Accepts a components arg which provides a data processor and a results consumer. |
args | The argument to be provided to the data processor. |
Definition at line 87 of file DataFetchWorker.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.args, org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.DataFetchComponents< A1, R1 >.getFetcher(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.DataFetchComponents< A1, R1 >.getResultHandler().
org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.DataFetchWorker | ( | DataFetcher< A, R > | processor, |
Consumer< DataFetchResult< R >> | resultHandler, | ||
A | args | ||
) |
Main constructor for this swing worker.
processor | The function that will do the fetching of the data provided the given args. InterruptedException's are treated as cancellations and are not passed to the result handler. |
resultHandler | The ui function that will handle the result of the data processing. |
args | The args provided to the data processor. |
Definition at line 102 of file DataFetchWorker.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.args, org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.processor, and org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.resultHandler.
|
protected |
Definition at line 113 of file DataFetchWorker.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.DataFetcher< I, O >.runQuery().
|
protected |
Definition at line 118 of file DataFetchWorker.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getErrorResult(), org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getSuccessResult(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.MAX_INNER_EXCEPTION_DEPTH.
|
private |
Definition at line 76 of file DataFetchWorker.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.DataFetchWorker().
|
staticprivate |
Definition at line 73 of file DataFetchWorker.java.
|
staticprivate |
Definition at line 74 of file DataFetchWorker.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.done().
|
private |
Definition at line 77 of file DataFetchWorker.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.DataFetchWorker().
|
private |
Definition at line 78 of file DataFetchWorker.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchWorker< A, R >.DataFetchWorker().
Copyright © 2012-2022 Basis Technology. Generated on: Thu Jun 1 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.