Class AbstractVfsContainer

    • Method Detail

      • addComponent

        protected void addComponent​(java.lang.Object component)
                             throws FileSystemException
        Adds a sub-component to this component.

        If the sub-component implements VfsComponent, it is initialised. All sub-components are closed when this component is closed.

        Parameters:
        component - the component to add.
        Throws:
        FileSystemException - if any error occurs.
      • removeComponent

        protected void removeComponent​(java.lang.Object component)
        Removes a sub-component from this component.
        Parameters:
        component - the component to remove.