|
org.sleuthkit.autopsy.datamodel/0 0.0 1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.beans.FeatureDescriptor
org.openide.nodes.Node
org.openide.nodes.AbstractNode
org.sleuthkit.autopsy.datamodel.DirectoryNode
public class DirectoryNode
This class is used to represent the "Node" for the directory. Its children are more directories.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.openide.nodes.Node |
|---|
org.openide.nodes.Node.Cookie, org.openide.nodes.Node.Handle, org.openide.nodes.Node.IndexedProperty<T,E>, org.openide.nodes.Node.Property<T>, org.openide.nodes.Node.PropertySet |
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_LOCATION
Name of the property that holds the path. |
static java.lang.String |
PROPERTY_NAME
Name of the property that holds the name. |
| Fields inherited from class org.openide.nodes.AbstractNode |
|---|
displayFormat, systemActions |
| Fields inherited from class org.openide.nodes.Node |
|---|
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_LEAF, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION |
| Constructor Summary | |
|---|---|
DirectoryNode(org.sleuthkit.datamodel.Directory dir)
|
|
| Method Summary | ||
|---|---|---|
|
accept(ContentNodeVisitor<T> v)
Visitor pattern support. |
|
protected org.openide.nodes.Sheet |
createSheet()
|
|
javax.swing.Action[] |
getActions(boolean popup)
Right click action for this node |
|
org.sleuthkit.datamodel.Content |
getContent()
Returns the content of this node. |
|
java.lang.String[] |
getDisplayPath()
Returns full path to this node. |
|
int |
getFileIDColumn()
Returns the location of the file ID / Metadata address on the columns on the directory table. |
|
long |
getID()
Gets the ID of this node. |
|
java.lang.String |
getName()
Returns the programmatic name for this node. |
|
java.lang.Object[][] |
getRowValues(int rows)
Gets the row values for this node. |
|
java.lang.String[] |
getSystemPath()
Returns full path to this node. |
|
byte[] |
read(long offset,
long len)
Reads the content of this node. |
|
void |
setName(java.lang.String name)
|
|
| Methods inherited from class org.openide.nodes.AbstractNode |
|---|
canCopy, canCut, canDestroy, canRename, clipboardCopy, clipboardCut, cloneNode, createActions, createPasteTypes, drag, getActions, getCookie, getCookieSet, getCustomizer, getDefaultAction, getDropType, getHandle, getHelpCtx, getIcon, getNewTypes, getOpenedIcon, getPasteTypes, getPreferredAction, getPropertySets, getSheet, hasCustomizer, setCookieSet, setDefaultAction, setIconBase, setIconBaseWithExtension, setSheet |
| Methods inherited from class org.openide.nodes.Node |
|---|
addNodeListener, addPropertyChangeListener, clone, destroy, equals, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getChildren, getContextActions, getContextMenu, getHtmlDisplayName, getLookup, getParentNode, hashCode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, setChildren, setDisplayName, setHidden, setShortDescription, toString |
| Methods inherited from class java.beans.FeatureDescriptor |
|---|
attributeNames, getDisplayName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setExpert, setPreferred, setValue |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_NAME
public static final java.lang.String PROPERTY_LOCATION
| Constructor Detail |
|---|
public DirectoryNode(org.sleuthkit.datamodel.Directory dir)
dir - Underlying Content instance| Method Detail |
|---|
public javax.swing.Action[] getActions(boolean popup)
getActions in class org.openide.nodes.Nodepopup -
public java.lang.Object[][] getRowValues(int rows)
getRowValues in interface ContentNoderows - the number of rows we want to show
public int getFileIDColumn()
getFileIDColumn in interface ContentNodepublic <T> T accept(ContentNodeVisitor<T> v)
ContentNode
T - visitor return typev - visitor
protected org.openide.nodes.Sheet createSheet()
createSheet in class org.openide.nodes.AbstractNodepublic void setName(java.lang.String name)
setName in class org.openide.nodes.AbstractNodepublic java.lang.String getName()
ContentNode
getName in interface ContentNodegetName in class java.beans.FeatureDescriptorpublic long getID()
getID in interface ContentNode
public byte[] read(long offset,
long len)
throws org.sleuthkit.datamodel.TskException
read in interface ContentNodeoffset - the starting offsetlen - the length
org.sleuthkit.datamodel.TskExceptionpublic org.sleuthkit.datamodel.Content getContent()
getContent in interface ContentNodepublic java.lang.String[] getDisplayPath()
getDisplayPath in interface ContentNodepublic java.lang.String[] getSystemPath()
getSystemPath in interface ContentNode
|
org.sleuthkit.autopsy.datamodel/0 0.0 1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||