mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Merge remote-tracking branch 'upstream/develop' into 2103-ingest-task-sched-concurrency
This commit is contained in:
commit
03e99cd719
@ -51,13 +51,22 @@ abstract class Extract {
|
||||
Extract() {
|
||||
}
|
||||
|
||||
void init() throws IngestModuleException {
|
||||
final void init() throws IngestModuleException {
|
||||
try {
|
||||
currentCase = Case.getOpenCase();
|
||||
tskCase = currentCase.getSleuthkitCase();
|
||||
} catch (NoCurrentCaseException ex) {
|
||||
throw new IngestModuleException(Bundle.Extract_indexError_message(), ex);
|
||||
}
|
||||
configExtractor();
|
||||
}
|
||||
|
||||
/**
|
||||
* Override to add any module-specific configuration
|
||||
*
|
||||
* @throws IngestModuleException
|
||||
*/
|
||||
void configExtractor() throws IngestModuleException {
|
||||
}
|
||||
|
||||
abstract void process(Content dataSource, IngestJobContext context);
|
||||
|
@ -393,7 +393,7 @@ class SearchEngineURLQueryAnalyzer extends Extract {
|
||||
}
|
||||
|
||||
@Override
|
||||
void init() throws IngestModuleException {
|
||||
void configExtractor() throws IngestModuleException {
|
||||
try {
|
||||
PlatformUtil.extractResourceToUserConfigDir(SearchEngineURLQueryAnalyzer.class, XMLFILE, true);
|
||||
} catch (IOException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user