Interface FSBNode

    • Method Detail

      • getFSRL

        FSRL getFSRL()
        Returns the FSRL 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 the FSBRootNode 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 convert GFile objects to FSBNode objects.
        Parameters:
        files - List of GFile objects to convert
        Returns:
        List of FSBNode instances (return typed as a GTreeNode list), specific to each GFile instance's type.
      • getNodeFromFile

        static FSBNode getNodeFromFile​(GFile file)
        Helper method to convert a single GFile object into a FSBNode object.
        Parameters:
        file - GFile to convert
        Returns:
        a new FSBNode with type specific to the GFile's type.