Go to the documentation of this file.
19package org.sleuthkit.autopsy.datamodel;
21import org.openide.nodes.Node;
22import org.sleuthkit.datamodel.Content;
23import org.sleuthkit.datamodel.SleuthkitVisitableItem;
29abstract class AbstractContentChildren<T
extends Content> extends
BaseChildFactory<T> {
31 private final CreateSleuthkitNodeVisitor createSleuthkitNodeVisitor =
new CreateSleuthkitNodeVisitor();
33 AbstractContentChildren(String nodeName) {
34 super(nodeName,
new DataSourcesKnownAndSlackFilter<>());
38 protected Node createNodeForKey(T key) {
39 if (key instanceof SleuthkitVisitableItem) {
40 return ((SleuthkitVisitableItem) key).accept(createSleuthkitNodeVisitor);
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.