Interface FileReplicator

    • Method Detail

      • replicateFile

        java.io.File replicateFile​(FileObject srcFile,
                                   FileSelector selector)
                            throws FileSystemException
        Creates a local copy of the file, and all its descendants.
        Parameters:
        srcFile - The file to copy.
        selector - Selects the files to copy.
        Returns:
        The local copy of the source file.
        Throws:
        FileSystemException - If the source files does not exist, or on error copying.