1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-06 02:24:30 +00:00

i. Changed access specifier on casemodule.Case.addImage() to public, so other modules can access it

to display a newly added image in the UI.
ii. Fixed the names of icons in HTML report to go with the recent renaming of some Web artifacts.
This commit is contained in:
raman-bt
2013-08-20 14:09:59 -04:00
parent 10a8a192ce
commit 1e67510c8a
2 changed files with 5 additions and 5 deletions

View File

@@ -326,7 +326,7 @@ public class Case implements SleuthkitCase.ErrorObserver {
* @param imgId the ID of the image that being added
* @param timeZone the timeZone of the image where it's added
*/
Image addImage(String imgPath, long imgId, String timeZone) throws CaseActionException {
public Image addImage(String imgPath, long imgId, String timeZone) throws CaseActionException {
logger.log(Level.INFO, "Adding image to Case. imgPath: {0} ID: {1} TimeZone: {2}", new Object[]{imgPath, imgId, timeZone});
try {

View File

@@ -669,13 +669,13 @@ public class ReportHTML implements TableReportModule {
output.close();
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/bookmarks.png");
output = new FileOutputStream(new File(path + File.separator + "Bookmarks.png"));
output = new FileOutputStream(new File(path + File.separator + "Web Bookmarks.png"));
FileUtil.copy(in, output);
in.close();
output.close();
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/cookies.png");
output = new FileOutputStream(new File(path + File.separator + "Cookies.png"));
output = new FileOutputStream(new File(path + File.separator + "Web Cookies.png"));
FileUtil.copy(in, output);
in.close();
output.close();
@@ -687,13 +687,13 @@ public class ReportHTML implements TableReportModule {
output.close();
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/downloads.png");
output = new FileOutputStream(new File(path + File.separator + "Downloads.png"));
output = new FileOutputStream(new File(path + File.separator + "Web Downloads.png"));
FileUtil.copy(in, output);
in.close();
output.close();
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/search.png");
output = new FileOutputStream(new File(path + File.separator + "Web Search Engine Queries.png"));
output = new FileOutputStream(new File(path + File.separator + "Web Search.png"));
FileUtil.copy(in, output);
in.close();
output.close();