Package org.apache.commons.vfs2.provider
Interface FileReplicator
- All Known Implementing Classes:
- DefaultFileReplicator,- PrivilegedFileReplicator
public interface FileReplicator
Responsible for making local replicas of files.
 
 A file replicator may also implement VfsComponent.
 
- 
Method SummaryModifier and TypeMethodDescriptionreplicateFile(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendants.
- 
Method Details- 
replicateFileCreates 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.
 
 
-