Interface InboundFileSynchronizer
- All Known Implementing Classes:
AbstractInboundFileSynchronizer,FtpInboundFileSynchronizer,SftpInboundFileSynchronizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface InboundFileSynchronizer
Strategy for synchronizing from a remote File system to a local directory.
- Since:
- 2.0
- Author:
- Mark Fisher, Gary Russell
-
Method Summary
Modifier and Type Method Description voidsynchronizeToLocalDirectory(File localDirectory)Synchronize all available files to the local directory;default voidsynchronizeToLocalDirectory(File localDirectory, int maxFetchSize)Synchronize up to maxFetchSize files to the local directory;
-
Method Details
-
synchronizeToLocalDirectory
Synchronize all available files to the local directory;- Parameters:
localDirectory- the directory.
-
synchronizeToLocalDirectory
Synchronize up to maxFetchSize files to the local directory;- Parameters:
localDirectory- the directory.maxFetchSize- the maximum files to fetch.
-