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 FSBRootNodefindContainingFileSystemFSBRootNode(FSBNode node)Returns theFSBRootNodethat represents the root of the file system that contains the specified file node.FSRLgetFSRL()Returns theFSRLof the filesystem object that this node represents.static FSBNodegetNodeFromFile(GFile file)Helper method to convert a singleGFileobject into a FSBNode object.static java.util.List<GTreeNode>getNodesFromFileList(java.util.List<GFile> files)Helper method to convertGFileobjects 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 theFSRLof the filesystem object that this node represents.The root of filesystems will return a
FSRLRoot.- Returns:
FSRLof the filesystem object.
-
findContainingFileSystemFSBRootNode
static FSBRootNode findContainingFileSystemFSBRootNode(FSBNode node)
Returns theFSBRootNodethat 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 convertGFileobjects to FSBNode objects.
-
-