Autopsy
4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datamodel.AbstractContentNode< T >.
Classes | |
enum | AbstractFilePropertyType |
enum | NodeSpecificEvents |
Public Member Functions | |
T | getContent () |
List< Content > | getContentChildren () |
int | getContentChildrenCount () |
List< Long > | getContentChildrenIds () |
String | getName () |
boolean | hasContentChildren () |
boolean | hasVisibleContentChildren () |
int | read (byte[] buf, long offset, long len) throws TskException |
void | setName (String name) |
Static Public Member Functions | |
static boolean | contentHasVisibleContentChildren (Content c) |
static void | fillPropertyMap (Map< String, Object > map, AbstractFile content) |
Protected Member Functions | |
void | addTagProperty (Sheet.Set sheetSet) |
synchronized Sheet | createSheet () |
void | finalize () throws Throwable |
Static Protected Member Functions | |
static String | getHashSetHitsCsvList (AbstractFile file) |
Private Member Functions | |
List< NodeProperty<?> > | getProperties () |
void | removeListeners () |
synchronized void | updateSheet (NodeProperty<?>...newProps) |
Private Attributes | |
final PropertyChangeListener | pcl |
final PropertyChangeListener | weakPcl = WeakListeners.propertyChange(pcl, null) |
Static Private Attributes | |
static final Set< Case.Events > | CASE_EVENTS_OF_INTEREST |
static final Logger | logger = Logger.getLogger(AbstractAbstractFileNode.class.getName()) |
static final Integer | MAX_POOL_SIZE = 10 |
static final String | NO_DESCR = AbstractAbstractFileNode_addFileProperty_desc() |
static final ExecutorService | translationPool |
An abstract node that encapsulates AbstractFile data
<T> | type of the AbstractFile to encapsulate |
Definition at line 76 of file AbstractAbstractFileNode.java.
|
protected |
Used by subclasses of AbstractAbstractFileNode to add the tags property to their sheets.
sheetSet | the modifiable Sheet.Set returned by Sheet.get(Sheet.PROPERTIES) |
Definition at line 409 of file AbstractAbstractFileNode.java.
|
staticinherited |
Return true if the given content object has children. Useful for lazy loading.
c | The content object to look for children on |
Definition at line 111 of file AbstractContentNode.java.
|
protected |
Definition at line 270 of file AbstractAbstractFileNode.java.
|
static |
Fill map with AbstractFile properties
map | map with preserved ordering, where property names/values are put |
content | The content to get properties for. |
TODO JIRA-4421: Deprecate this method and resolve warnings that appear in other locations.
Definition at line 612 of file AbstractAbstractFileNode.java.
|
protected |
The finalizer removes event listeners as the BlackboardArtifactNode is being garbage collected. Yes, we know that finalizers are considered to be "bad" but since the alternative also relies on garbage collection being run and we know that finalize will be called when the object is being GC'd it seems like this is a reasonable solution.
Throwable |
Definition at line 124 of file AbstractAbstractFileNode.java.
|
inherited |
Return the content data associated with this node
Definition at line 80 of file AbstractContentNode.java.
|
inherited |
Return children of the underlying content.
Definition at line 192 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor::visitDeep().
|
inherited |
Get count of the underlying content object children.
Useful for lazy loading.
Definition at line 214 of file AbstractContentNode.java.
|
inherited |
Return ids of children of the underlying content. The ids can be treated as keys - useful for lazy loading.
Definition at line 172 of file AbstractContentNode.java.
|
staticprotected |
Gets a comma-separated values list of the names of the hash sets currently identified as including a given file.
file | The file. |
Definition at line 428 of file AbstractAbstractFileNode.java.
|
inherited |
Definition at line 90 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >::updateSheet().
|
private |
Creates and populates a list of properties for this nodes property sheet.
Definition at line 358 of file AbstractAbstractFileNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >.createSheet().
|
inherited |
Return true if the underlying content object has children Useful for lazy loading.
Definition at line 152 of file AbstractContentNode.java.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor::visitDeep().
|
inherited |
Return true if the underlying content object has children Useful for lazy loading.
Definition at line 100 of file AbstractContentNode.java.
|
inherited |
Reads the content of this node (of the underlying content object).
buf | buffer to read into |
offset | the starting offset in the content object |
len | the length to read |
TskException | exception thrown if the requested part of content could not be read |
Definition at line 240 of file AbstractContentNode.java.
|
private |
Definition at line 129 of file AbstractAbstractFileNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >.finalize().
|
inherited |
Definition at line 85 of file AbstractContentNode.java.
|
private |
Updates the values of the properties in the current property sheet with the new properties being passed in. Only if that property exists in the current sheet will it be applied. That way, we allow for subclasses to add their own (or omit some!) properties and we will not accidentally disrupt their UI.
Race condition if not synchronized. Only one update should be applied at a time.
newProps | New file property instances to be updated in the current sheet. |
Definition at line 244 of file AbstractAbstractFileNode.java.
|
staticprivate |
Definition at line 82 of file AbstractAbstractFileNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >.removeListeners().
|
staticprivate |
Definition at line 78 of file AbstractAbstractFileNode.java.
|
staticprivate |
Definition at line 86 of file AbstractAbstractFileNode.java.
|
staticprivate |
Definition at line 80 of file AbstractAbstractFileNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >.getProperties().
|
private |
Definition at line 144 of file AbstractAbstractFileNode.java.
|
staticprivate |
Definition at line 85 of file AbstractAbstractFileNode.java.
|
private |
We pass a weak reference wrapper around the listener to the event publisher. This allows Netbeans to delete the node when the user navigates to another part of the tree (previously, nodes were not being deleted because the event publisher was holding onto a strong reference to the listener. We need to hold onto the weak reference here to support unregistering of the listener in removeListeners() below.
Definition at line 229 of file AbstractAbstractFileNode.java.
Referenced by org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >.removeListeners().
Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.