mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Added MIMEType to display
This commit is contained in:
parent
3fef845c27
commit
510a71b90b
@ -228,6 +228,13 @@ public abstract class AbstractAbstractFileNode<T extends AbstractFile> extends A
|
||||
public String toString() {
|
||||
return NbBundle.getMessage(this.getClass(), "AbstractAbstractFileNode.objectId");
|
||||
|
||||
}
|
||||
},
|
||||
MIMETYPE {
|
||||
@Override
|
||||
public String toString() {
|
||||
return NbBundle.getMessage(this.getClass(), "AbstractAbstractFileNode.mimeType");
|
||||
|
||||
}
|
||||
},
|
||||
}
|
||||
@ -235,8 +242,8 @@ public abstract class AbstractAbstractFileNode<T extends AbstractFile> extends A
|
||||
/**
|
||||
* Fill map with AbstractFile properties
|
||||
*
|
||||
* @param map map with preserved ordering, where property names/values
|
||||
* are put
|
||||
* @param map map with preserved ordering, where property names/values are
|
||||
* put
|
||||
* @param content to extract properties from
|
||||
*/
|
||||
public static void fillPropertyMap(Map<String, Object> map, AbstractFile content) {
|
||||
@ -268,6 +275,7 @@ public abstract class AbstractAbstractFileNode<T extends AbstractFile> extends A
|
||||
map.put(AbstractFilePropertyType.HASHSETS.toString(), getHashSetHitsForFile(content));
|
||||
map.put(AbstractFilePropertyType.MD5HASH.toString(), content.getMd5Hash() == null ? "" : content.getMd5Hash());
|
||||
map.put(AbstractFilePropertyType.ObjectID.toString(), content.getId());
|
||||
map.put(AbstractFilePropertyType.MIMETYPE.toString(), content.getMIMEType() == null ? "" : content.getMIMEType());
|
||||
}
|
||||
|
||||
static String getContentDisplayName(AbstractFile file) {
|
||||
|
@ -18,6 +18,7 @@ AbstractAbstractFileNode.typeMetaColLbl=Type(Meta)
|
||||
AbstractAbstractFileNode.knownColLbl=Known
|
||||
AbstractAbstractFileNode.inHashsetsColLbl=In Hashsets
|
||||
AbstractAbstractFileNode.md5HashColLbl=MD5 Hash
|
||||
AbstractAbstractFileNode.mimeType = MIME Type
|
||||
AbstractContentChildren.CreateTSKNodeVisitor.exception.noNodeMsg=No Node defined for the given SleuthkitItem
|
||||
AbstractContentChildren.createAutopsyNodeVisitor.exception.noNodeMsg=No Node defined for the given DisplayableItem
|
||||
AbstractContentNode.exception.cannotChangeSysName.msg=Cannot change the system name.
|
||||
|
Loading…
x
Reference in New Issue
Block a user