Class MCRVirtualNode

java.lang.Object
org.mycore.datamodel.ifs2.MCRNode
org.mycore.datamodel.ifs2.MCRVirtualNode

public class MCRVirtualNode extends MCRNode
A virtual node in a file collection, which may be a child node of a container file type like zip or tar. Such files can be browsed and read using this node type.
Author:
Frank Lützenkirchen
  • Constructor Details

    • MCRVirtualNode

      protected MCRVirtualNode(MCRNode parent, Path fo)
      Creates a new virtual node
      Parameters:
      parent - the parent node containing this node
      fo - the file object in Apache VFS representing this node
  • Method Details

    • buildChildNode

      protected MCRVirtualNode buildChildNode(Path fo)
      Returns a virtual node that is a child of this virtual node.
      Specified by:
      buildChildNode in class MCRNode
      Parameters:
      fo - the FileObject representing the child in the underlying filesystem
      Returns:
      the child node or null, if the fo does not exists