F
- the target file type.S
- the target RemoteFileOutboundGatewaySpec
implementation type.public abstract class RemoteFileOutboundGatewaySpec<F,S extends RemoteFileOutboundGatewaySpec<F,S>> extends MessageHandlerSpec<S,org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<F>>
logger, PARSER, target
Modifier | Constructor and Description |
---|---|
protected |
RemoteFileOutboundGatewaySpec(org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<F> outboundGateway) |
Modifier and Type | Method and Description |
---|---|
S |
autoCreateLocalDirectory(boolean autoCreateLocalDirectory) |
S |
filter(org.springframework.integration.file.filters.FileListFilter<F> filter) |
S |
localDirectory(java.io.File localDirectory) |
<P> S |
localDirectory(Function<org.springframework.messaging.Message<P>,java.lang.String> localDirectoryFunction) |
S |
localDirectoryExpression(org.springframework.expression.Expression localDirectoryExpression) |
S |
localDirectoryExpression(java.lang.String localDirectoryExpression) |
<P> S |
localFilename(Function<org.springframework.messaging.Message<P>,java.lang.String> localFilenameFunction) |
S |
localFilenameExpression(org.springframework.expression.Expression localFilenameExpression) |
S |
localFilenameExpression(java.lang.String localFilenameExpression) |
S |
mputFilter(org.springframework.integration.file.filters.FileListFilter<java.io.File> filter) |
S |
options(org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Option... options) |
S |
options(java.lang.String options) |
abstract S |
patternFileNameFilter(java.lang.String pattern) |
S |
patternMputFilter(java.lang.String pattern) |
abstract S |
regexFileNameFilter(java.lang.String regex) |
S |
regexMpuFilter(java.lang.String regex) |
S |
remoteFileSeparator(java.lang.String remoteFileSeparator) |
S |
renameExpression(java.lang.String expression) |
S |
temporaryFileSuffix(java.lang.String temporaryFileSuffix) |
_this, doGet, get, getId, getObject, getObjectType, id, isSingleton
protected RemoteFileOutboundGatewaySpec(org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<F> outboundGateway)
public S options(java.lang.String options)
public S options(org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Option... options)
public S remoteFileSeparator(java.lang.String remoteFileSeparator)
public S localDirectory(java.io.File localDirectory)
public S localDirectoryExpression(java.lang.String localDirectoryExpression)
public <P> S localDirectory(Function<org.springframework.messaging.Message<P>,java.lang.String> localDirectoryFunction)
public S localDirectoryExpression(org.springframework.expression.Expression localDirectoryExpression)
localDirectoryExpression
- a SpEL expression to evaluate the local directory.public S autoCreateLocalDirectory(boolean autoCreateLocalDirectory)
public S temporaryFileSuffix(java.lang.String temporaryFileSuffix)
public abstract S patternFileNameFilter(java.lang.String pattern)
public abstract S regexFileNameFilter(java.lang.String regex)
public S mputFilter(org.springframework.integration.file.filters.FileListFilter<java.io.File> filter)
public S patternMputFilter(java.lang.String pattern)
public S regexMpuFilter(java.lang.String regex)
public S renameExpression(java.lang.String expression)
public S localFilenameExpression(java.lang.String localFilenameExpression)
public <P> S localFilename(Function<org.springframework.messaging.Message<P>,java.lang.String> localFilenameFunction)
public S localFilenameExpression(org.springframework.expression.Expression localFilenameExpression)
localFilenameExpression
- a SpEL expression to evaluate the local file name.