mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17: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() {
|
Extract() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void init() throws IngestModuleException {
|
final void init() throws IngestModuleException {
|
||||||
try {
|
try {
|
||||||
currentCase = Case.getOpenCase();
|
currentCase = Case.getOpenCase();
|
||||||
tskCase = currentCase.getSleuthkitCase();
|
tskCase = currentCase.getSleuthkitCase();
|
||||||
} catch (NoCurrentCaseException ex) {
|
} catch (NoCurrentCaseException ex) {
|
||||||
throw new IngestModuleException(Bundle.Extract_indexError_message(), 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);
|
abstract void process(Content dataSource, IngestJobContext context);
|
||||||
|
@ -393,7 +393,7 @@ class SearchEngineURLQueryAnalyzer extends Extract {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
void init() throws IngestModuleException {
|
void configExtractor() throws IngestModuleException {
|
||||||
try {
|
try {
|
||||||
PlatformUtil.extractResourceToUserConfigDir(SearchEngineURLQueryAnalyzer.class, XMLFILE, true);
|
PlatformUtil.extractResourceToUserConfigDir(SearchEngineURLQueryAnalyzer.class, XMLFILE, true);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user