Added icons for new artifacts to show up in the results tree view and the HTML report.
@ -104,6 +104,14 @@ public class ArtifactTypeNode extends DisplayableItemNode {
|
|||||||
return "searchquery.png";
|
return "searchquery.png";
|
||||||
case TSK_METADATA_EXIF:
|
case TSK_METADATA_EXIF:
|
||||||
return "camera-icon-16.png";
|
return "camera-icon-16.png";
|
||||||
|
case TSK_CONTACT:
|
||||||
|
return "contact.png";
|
||||||
|
case TSK_MESSAGE:
|
||||||
|
return "message.png";
|
||||||
|
case TSK_CALLLOG:
|
||||||
|
return "calllog.png";
|
||||||
|
case TSK_CALENDAR_ENTRY:
|
||||||
|
return "calendar.png";
|
||||||
}
|
}
|
||||||
return "artifact-icon.png";
|
return "artifact-icon.png";
|
||||||
}
|
}
|
||||||
|
@ -287,6 +287,14 @@ public class BlackboardArtifactNode extends DisplayableItemNode {
|
|||||||
return "green-tag-icon-16.png";
|
return "green-tag-icon-16.png";
|
||||||
case TSK_METADATA_EXIF:
|
case TSK_METADATA_EXIF:
|
||||||
return "camera-icon-16.png";
|
return "camera-icon-16.png";
|
||||||
|
case TSK_CONTACT:
|
||||||
|
return "contact.png";
|
||||||
|
case TSK_MESSAGE:
|
||||||
|
return "message.png";
|
||||||
|
case TSK_CALLLOG:
|
||||||
|
return "calllog.png";
|
||||||
|
case TSK_CALENDAR_ENTRY:
|
||||||
|
return "calendar.png";
|
||||||
}
|
}
|
||||||
return "artifact-icon.png";
|
return "artifact-icon.png";
|
||||||
}
|
}
|
||||||
|
BIN
Core/src/org/sleuthkit/autopsy/images/calendar.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
Core/src/org/sleuthkit/autopsy/images/calllog.png
Normal file
After Width: | Height: | Size: 691 B |
BIN
Core/src/org/sleuthkit/autopsy/images/contact.png
Normal file
After Width: | Height: | Size: 738 B |
BIN
Core/src/org/sleuthkit/autopsy/images/message.png
Normal file
After Width: | Height: | Size: 829 B |
@ -561,6 +561,32 @@ public class ReportHTML implements TableReportModule {
|
|||||||
FileUtil.copy(in, output);
|
FileUtil.copy(in, output);
|
||||||
in.close();
|
in.close();
|
||||||
output.close();
|
output.close();
|
||||||
|
|
||||||
|
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/contact.png");
|
||||||
|
output = new FileOutputStream(new File(path + File.separator + "Contacts.png"));
|
||||||
|
FileUtil.copy(in, output);
|
||||||
|
in.close();
|
||||||
|
output.close();
|
||||||
|
|
||||||
|
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/message.png");
|
||||||
|
output = new FileOutputStream(new File(path + File.separator + "Messages.png"));
|
||||||
|
FileUtil.copy(in, output);
|
||||||
|
in.close();
|
||||||
|
output.close();
|
||||||
|
|
||||||
|
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/calllog.png");
|
||||||
|
output = new FileOutputStream(new File(path + File.separator + "Call Logs.png"));
|
||||||
|
FileUtil.copy(in, output);
|
||||||
|
in.close();
|
||||||
|
output.close();
|
||||||
|
|
||||||
|
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/calendar.png");
|
||||||
|
output = new FileOutputStream(new File(path + File.separator + "Calendar Entries.png"));
|
||||||
|
FileUtil.copy(in, output);
|
||||||
|
in.close();
|
||||||
|
output.close();
|
||||||
|
|
||||||
|
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
logger.log(Level.SEVERE, "Failed to extract images for HTML report.", ex);
|
logger.log(Level.SEVERE, "Failed to extract images for HTML report.", ex);
|
||||||
} finally {
|
} finally {
|
||||||
|
BIN
Core/src/org/sleuthkit/autopsy/report/images/calendar.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
Core/src/org/sleuthkit/autopsy/report/images/calllog.png
Normal file
After Width: | Height: | Size: 691 B |
BIN
Core/src/org/sleuthkit/autopsy/report/images/contact.png
Normal file
After Width: | Height: | Size: 738 B |
BIN
Core/src/org/sleuthkit/autopsy/report/images/message.png
Normal file
After Width: | Height: | Size: 829 B |