public class SftpStreamingMessageSource
extends org.springframework.integration.file.remote.AbstractRemoteFileStreamingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>
| Constructor and Description |
|---|
SftpStreamingMessageSource(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template)
Construct an instance with the supplied template.
|
SftpStreamingMessageSource(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template,
java.util.Comparator<com.jcraft.jsch.ChannelSftp.LsEntry> comparator)
Construct an instance with the supplied template and comparator.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<org.springframework.integration.file.remote.AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> |
asFileInfoList(java.util.Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files) |
java.lang.String |
getComponentType() |
protected boolean |
isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file) |
doInit, doReceive, doReceive, doSetFilter, getRemoteFileTemplate, onInit, poll, remotePath, rollbackFromFileToListEnd, setFileInfoJson, setFilter, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteFileSeparatorgetMaxFetchSize, setMaxFetchSizebuildMessage, getComponentName, getManagedName, getManagedType, getMessageCount, getMessageCountLong, getOverrides, isCountsEnabled, isLoggingEnabled, receive, registerMetricsCaptor, reset, setBeanName, setCountsEnabled, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedTypeafterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterPropertiesSetpublic SftpStreamingMessageSource(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template)
template - the template.public SftpStreamingMessageSource(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template,
java.util.Comparator<com.jcraft.jsch.ChannelSftp.LsEntry> comparator)
template - the template.comparator - the comparator.public java.lang.String getComponentType()
protected java.util.List<org.springframework.integration.file.remote.AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> asFileInfoList(java.util.Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files)
asFileInfoList in class org.springframework.integration.file.remote.AbstractRemoteFileStreamingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>protected boolean isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file)
isDirectory in class org.springframework.integration.file.remote.AbstractRemoteFileStreamingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>