public interface FileReplicator
A file replicator may also implement VfsComponent
.
Modifier and Type | Method and Description |
---|---|
File |
replicateFile(FileObject srcFile,
FileSelector selector)
Creates a local copy of the file, and all its descendants.
|
File replicateFile(FileObject srcFile, FileSelector selector) throws FileSystemException
srcFile
- The file to copy.selector
- Selects the files to copy.FileSystemException
- If the source files does not exist, or on error copying.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.