mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
add source file path to result content view for consistency
This commit is contained in:
parent
6d33cd7aaf
commit
2f529c1cc0
@ -104,6 +104,22 @@ public class ArtifactStringContent implements StringContent {
|
||||
buffer.append("</td>");
|
||||
buffer.append("</tr>");
|
||||
}
|
||||
|
||||
//add file path
|
||||
buffer.append("<tr>");
|
||||
buffer.append("<td>Source File</td>");
|
||||
buffer.append("<td>");
|
||||
final Content content = getAssociatedContent(wrapped);
|
||||
buffer.append(content.getName());
|
||||
buffer.append("</td>");
|
||||
buffer.append("</tr>");
|
||||
buffer.append("<tr>");
|
||||
buffer.append("<td>Source File Path</td>");
|
||||
buffer.append("<td>");
|
||||
buffer.append(DataConversion.getformattedPath(ContentUtils.getDisplayPath(content), 0, 1));
|
||||
buffer.append("</td>");
|
||||
buffer.append("</tr>");
|
||||
|
||||
buffer.append("</table>");
|
||||
buffer.append("</html>");
|
||||
return buffer.toString();
|
||||
|
Loading…
x
Reference in New Issue
Block a user