mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 08:56:15 +00:00
removing the list of carved files from message
This commit is contained in:
parent
cdbb3de0bf
commit
05b4d42b45
@ -17,5 +17,4 @@ PhotoRecIngestModule.NotEnoughDiskSpace=Not enough disk space to save unallocate
|
|||||||
PhotoRecIngestModule.complete.numberOfCarved=Number of Files Carved\:
|
PhotoRecIngestModule.complete.numberOfCarved=Number of Files Carved\:
|
||||||
PhotoRecIngestModule.complete.totalWritetime=Total Time To Write To Disk
|
PhotoRecIngestModule.complete.totalWritetime=Total Time To Write To Disk
|
||||||
PhotoRecIngestModule.complete.totalParsetime=Total Parsing Time
|
PhotoRecIngestModule.complete.totalParsetime=Total Parsing Time
|
||||||
PhotoRecIngestModule.complete.recFiles=List of Recovered Files\:
|
|
||||||
PhotoRecIngestModule.complete.photoRecResults=PhotoRec Results
|
PhotoRecIngestModule.complete.photoRecResults=PhotoRec Results
|
@ -82,7 +82,6 @@ final class PhotoRecCarverFileIngestModule implements FileIngestModule {
|
|||||||
private File executableFile;
|
private File executableFile;
|
||||||
private IngestServices services;
|
private IngestServices services;
|
||||||
private long jobId;
|
private long jobId;
|
||||||
private List<LayoutFile> carvedItems;
|
|
||||||
|
|
||||||
private static class IngestJobTotals {
|
private static class IngestJobTotals {
|
||||||
|
|
||||||
@ -243,7 +242,7 @@ final class PhotoRecCarverFileIngestModule implements FileIngestModule {
|
|||||||
// Now that we've cleaned up the folders and data files, parse the xml output file to add carved items into the database
|
// Now that we've cleaned up the folders and data files, parse the xml output file to add carved items into the database
|
||||||
long calcstart = System.currentTimeMillis();
|
long calcstart = System.currentTimeMillis();
|
||||||
PhotoRecCarverOutputParser parser = new PhotoRecCarverOutputParser(outputDirPath);
|
PhotoRecCarverOutputParser parser = new PhotoRecCarverOutputParser(outputDirPath);
|
||||||
carvedItems = parser.parse(newAuditFile, id, file);
|
List<LayoutFile> carvedItems = parser.parse(newAuditFile, id, file);
|
||||||
long calcdelta = (System.currentTimeMillis() - calcstart);
|
long calcdelta = (System.currentTimeMillis() - calcstart);
|
||||||
totals.totalParsetime.addAndGet(calcdelta);
|
totals.totalParsetime.addAndGet(calcdelta);
|
||||||
if (carvedItems != null) { // if there were any results from carving, add the unallocated carving event to the reports list.
|
if (carvedItems != null) { // if there were any results from carving, add the unallocated carving event to the reports list.
|
||||||
@ -292,15 +291,6 @@ final class PhotoRecCarverFileIngestModule implements FileIngestModule {
|
|||||||
.append("</td><td>").append(jobTotals.totalParsetime.get()).append("</td></tr>\n"); //NON-NLS
|
.append("</td><td>").append(jobTotals.totalParsetime.get()).append("</td></tr>\n"); //NON-NLS
|
||||||
detailsSb.append("</table>"); //NON-NLS
|
detailsSb.append("</table>"); //NON-NLS
|
||||||
|
|
||||||
detailsSb.append("<p>") //NON-NLS
|
|
||||||
.append(NbBundle.getMessage(this.getClass(), "PhotoRecIngestModule.complete.recFiles"))
|
|
||||||
.append("</p>\n<ul>"); //NON-NLS
|
|
||||||
for (LayoutFile lf : carvedItems) {
|
|
||||||
detailsSb.append("<li>").append(lf.getName()).append("</li>\n"); //NON-NLS
|
|
||||||
}
|
|
||||||
|
|
||||||
detailsSb.append("</ul>"); //NON-NLS
|
|
||||||
|
|
||||||
services.postMessage(IngestMessage.createMessage(
|
services.postMessage(IngestMessage.createMessage(
|
||||||
IngestMessage.MessageType.INFO,
|
IngestMessage.MessageType.INFO,
|
||||||
PhotoRecCarverIngestModuleFactory.getModuleName(),
|
PhotoRecCarverIngestModuleFactory.getModuleName(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user