mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 16:36:15 +00:00
Added bundle messages
This commit is contained in:
parent
bac1b2e0d1
commit
ad950f4be0
@ -208,11 +208,16 @@ public final class CaseUcoFormatExporter {
|
|||||||
* @param outputFilePath
|
* @param outputFilePath
|
||||||
* @param progressPanel
|
* @param progressPanel
|
||||||
*/
|
*/
|
||||||
|
@NbBundle.Messages({
|
||||||
|
"CaseUcoFormatExporter.startMsg=Generating CASE-UCO Report",
|
||||||
|
"CaseUcoFormatExporter.datasourceMsg=Generating CASE-UCO Report for %s",
|
||||||
|
"CaseUcoFormatExporter.finishMsg=Finished generating CASE-UCO Report"
|
||||||
|
})
|
||||||
public static void export(List<TagName> tagTypes, List<String> interestingItemSets,
|
public static void export(List<TagName> tagTypes, List<String> interestingItemSets,
|
||||||
File caseReportFolder, ReportProgressPanel progressPanel) throws IOException, SQLException,
|
File caseReportFolder, ReportProgressPanel progressPanel) throws IOException, SQLException,
|
||||||
NoCurrentCaseException, TskCoreException {
|
NoCurrentCaseException, TskCoreException {
|
||||||
|
|
||||||
progressPanel.updateStatusLabel("Generating CASE-UCO Report");
|
progressPanel.updateStatusLabel(Bundle.CaseUcoFormatExporter_startMsg());
|
||||||
//Acquire references for file discovery
|
//Acquire references for file discovery
|
||||||
Case currentCase = Case.getCurrentCaseThrows();
|
Case currentCase = Case.getCurrentCaseThrows();
|
||||||
String caseTempDirectory = currentCase.getTempDirectory();
|
String caseTempDirectory = currentCase.getTempDirectory();
|
||||||
@ -237,6 +242,8 @@ public final class CaseUcoFormatExporter {
|
|||||||
String caseTraceId = saveCaseInfo(skCase, jsonGenerator);
|
String caseTraceId = saveCaseInfo(skCase, jsonGenerator);
|
||||||
|
|
||||||
for (DataSource ds : skCase.getDataSources()) {
|
for (DataSource ds : skCase.getDataSources()) {
|
||||||
|
progressPanel.updateStatusLabel(String.format(
|
||||||
|
Bundle.CaseUcoFormatExporter_datasourceMsg(), ds.getName()));
|
||||||
String dataSourceTraceId = saveDataSourceInfo(ds.getId(),
|
String dataSourceTraceId = saveDataSourceInfo(ds.getId(),
|
||||||
caseTraceId, skCase, jsonGenerator);
|
caseTraceId, skCase, jsonGenerator);
|
||||||
for (TagName tn : tagTypes) {
|
for (TagName tn : tagTypes) {
|
||||||
@ -268,6 +275,7 @@ public final class CaseUcoFormatExporter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
finilizeJsonOutputFile(jsonGenerator);
|
finilizeJsonOutputFile(jsonGenerator);
|
||||||
|
progressPanel.updateStatusLabel(Bundle.CaseUcoFormatExporter_finishMsg());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user