org.springframework.integration.adapter.file
Class FileSourceAdapter
java.lang.Object
org.springframework.integration.adapter.AbstractSourceAdapter<T>
org.springframework.integration.adapter.PollingSourceAdapter<java.io.File>
org.springframework.integration.adapter.file.FileSourceAdapter
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, SourceAdapter, MessagingTaskSchedulerAware
public class FileSourceAdapter
- extends PollingSourceAdapter<java.io.File>
Channel adapter for polling a directory and creating messages from its files.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSourceAdapter
public FileSourceAdapter(java.io.File directory,
MessageChannel channel,
int period)
FileSourceAdapter
public FileSourceAdapter(java.io.File directory,
MessageChannel channel,
int period,
boolean isTextBased)
setFileNameGenerator
public void setFileNameGenerator(FileNameGenerator fileNameGenerator)
setBackupDirectory
public void setBackupDirectory(java.io.File backupDirectory)