DefaultFileReplicator
, PrivilegedFileReplicator
public interface FileReplicator
A file replicator may also implement VfsComponent
.
Modifier and Type | Method | Description |
---|---|---|
java.io.File |
replicateFile(FileObject srcFile,
FileSelector selector) |
Creates a local copy of the file, and all its descendents.
|
java.io.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.