Class LocalFileSystem

    • Constructor Detail

    • Method Detail

      • addCapabilities

        protected void addCapabilities​(java.util.Collection<Capability> caps)
        Returns the capabilities of this file system.
        Specified by:
        addCapabilities in class AbstractFileSystem
        Parameters:
        caps - collections of Capabilities, can be immutable.
      • doReplicateFile

        protected java.io.File doReplicateFile​(FileObject fileObject,
                                               FileSelector selector)
                                        throws java.lang.Exception
        Creates a temporary local copy of a file and its descendants.
        Overrides:
        doReplicateFile in class AbstractFileSystem
        Parameters:
        fileObject - the start of the tree.
        selector - selection what to do with childs.
        Returns:
        replicated root file.
        Throws:
        java.lang.Exception - any Exception is wrapped as FileSystemException.