public class SftpStreamingMessageSource extends AbstractRemoteFileStreamingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>
EXPRESSION_PARSER, logger
Constructor and Description |
---|
SftpStreamingMessageSource(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template)
Construct an instance with the supplied template.
|
SftpStreamingMessageSource(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template,
java.util.Comparator<AbstractFileInfo<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<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> |
asFileInfoList(java.util.Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files) |
java.lang.String |
getComponentType() |
afterPropertiesSet, doInit, doReceive, getRemoteFileTemplate, poll, remotePath, setFilter, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteFileSeparator
getComponentName, getManagedName, getManagedType, getMessageCount, getMessageCountLong, isCountsEnabled, isLoggingEnabled, receive, reset, setBeanName, setCountsEnabled, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedType
evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService
public SftpStreamingMessageSource(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template)
template
- the template.public SftpStreamingMessageSource(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template, java.util.Comparator<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> comparator)
template
- the template.comparator
- the comparator.public java.lang.String getComponentType()
protected java.util.List<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> asFileInfoList(java.util.Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files)
asFileInfoList
in class AbstractRemoteFileStreamingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>