F - the target file type.S - the target RemoteFileStreamingInboundChannelAdapterSpec implementation type.MS - the target AbstractInboundFileSynchronizingMessageSource implementation type.public abstract class RemoteFileStreamingInboundChannelAdapterSpec<F,S extends RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>,MS extends AbstractRemoteFileStreamingMessageSource<F>> extends MessageSourceSpec<S,MS>
logger, PARSER, target| Constructor and Description |
|---|
RemoteFileStreamingInboundChannelAdapterSpec() |
| Modifier and Type | Method and Description |
|---|---|
S |
filter(FileListFilter<F> filter)
Configure a
FileListFilter to be applied to the remote files before
copying them. |
abstract S |
patternFilter(String pattern)
Configure a simple pattern filter (e.g.
|
abstract S |
regexFilter(String regex)
Configure a regex pattern filter (e.g.
|
S |
remoteDirectory(Expression remoteDirectoryExpression)
Specify an expression that evaluates to the full path to the remote directory.
|
S |
remoteDirectory(java.util.function.Function<Message<?>,String> remoteDirectoryFunction)
Specify a function that is invoked to determine the full path to the remote directory.
|
S |
remoteDirectory(String remoteDirectory)
Specify the full path to the remote directory.
|
S |
remoteFileSeparator(String remoteFileSeparator)
Configure the file name path separator used by the remote system.
|
_this, doGet, get, getId, getObject, getObjectType, id, isSingletonpublic RemoteFileStreamingInboundChannelAdapterSpec()
public S remoteFileSeparator(String remoteFileSeparator)
remoteFileSeparator - the remoteFileSeparator.public S remoteDirectory(String remoteDirectory)
remoteDirectory - the remoteDirectory.AbstractRemoteFileStreamingMessageSource.setRemoteDirectory(String)public S remoteDirectory(Expression remoteDirectoryExpression)
remoteDirectoryExpression - The remote directory expression.public S remoteDirectory(java.util.function.Function<Message<?>,String> remoteDirectoryFunction)
remoteDirectoryFunction - The remote directory function.public S filter(FileListFilter<F> filter)
FileListFilter to be applied to the remote files before
copying them.filter - the filter.public abstract S patternFilter(String pattern)
pattern - the pattern.filter(FileListFilter)public abstract S regexFilter(String regex)
regex - the regex.filter(FileListFilter)