Package ghidra.plugins.fsbrowser
Interface FSBNode
-
- All Known Implementing Classes:
FSBDirNode
,FSBFileNode
,FSBRootNode
public interface FSBNode extends GTreeNode
Base interface for all filesystem browser gtree nodes.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static FSBRootNode
findContainingFileSystemFSBRootNode(FSBNode node)
Returns theFSBRootNode
that represents the root of the file system that contains the specified file node.FSRL
getFSRL()
Returns theFSRL
of the filesystem object that this node represents.static FSBNode
getNodeFromFile(GFile file)
Helper method to convert a singleGFile
object into a FSBNode object.static java.util.List<GTreeNode>
getNodesFromFileList(java.util.List<GFile> files)
Helper method to convertGFile
objects to FSBNode objects.-
Methods inherited from interface docking.widgets.tree.GTreeNode
addNode, addNode, clearFilter, dispose, filter, fireNodeChanged, fireNodeStructureChanged, getAllChildCount, getAllChildren, getChild, getChild, getChildCount, getChildren, getIcon, getIndexInParent, getIndexOfChild, getLeafCount, getName, getNodeCount, getParent, getRoot, getToolTip, getTree, getTreePath, isAncestor, isEditable, isFilteredOut, isInProgress, isLeaf, removeAll, removeNode, setChildren, valueChanged
-
-
-
-
Method Detail
-
getFSRL
FSRL getFSRL()
Returns theFSRL
of the filesystem object that this node represents.The root of filesystems will return a
FSRLRoot
.- Returns:
FSRL
of the filesystem object.
-
findContainingFileSystemFSBRootNode
static FSBRootNode findContainingFileSystemFSBRootNode(FSBNode node)
Returns theFSBRootNode
that represents the root of the file system that contains the specified file node.- Parameters:
node
- GTree node that represents a file.- Returns:
- FSBRootNode that represents the file system holding the file.
-
getNodesFromFileList
static java.util.List<GTreeNode> getNodesFromFileList(java.util.List<GFile> files)
Helper method to convertGFile
objects to FSBNode objects.
-
-