List of usage examples for org.springframework.integration.ftp.gateway FtpOutboundGateway FtpOutboundGateway
public FtpOutboundGateway(RemoteFileTemplate<FTPFile> remoteFileTemplate, String command, String expression)
From source file:org.springframework.integration.dsl.ftp.Ftp.java
public static FtpOutboundGatewaySpec outboundGateway(SessionFactory<FTPFile> sessionFactory, String command, String expression) {// www . j av a 2 s.c o m return new FtpOutboundGatewaySpec(new FtpOutboundGateway(sessionFactory, command, expression)); }
From source file:org.springframework.integration.ftp.dsl.Ftp.java
/** * Produce a {@link FtpOutboundGatewaySpec} based on the {@link SessionFactory}, * {@link AbstractRemoteFileOutboundGateway.Command} and {@code expression} for the * remoteFilePath.//w w w. j a v a 2 s. co m * @param sessionFactory the {@link SessionFactory}. * @param command the command to perform on the FTP. * @param expression the remoteFilePath SpEL expression. * @return the {@link FtpOutboundGatewaySpec} * @see RemoteFileTemplate */ public static FtpOutboundGatewaySpec outboundGateway(SessionFactory<FTPFile> sessionFactory, String command, String expression) { return new FtpOutboundGatewaySpec(new FtpOutboundGateway(sessionFactory, command, expression)); }
From source file:org.springframework.integration.ftp.dsl.Ftp.java
/** * Produce a {@link FtpOutboundGatewaySpec} based on the {@link RemoteFileTemplate}, * {@link AbstractRemoteFileOutboundGateway.Command} and {@code expression} for the * remoteFilePath.//from w ww. j a v a2 s . co m * @param remoteFileTemplate the {@link RemoteFileTemplate}. * @param command the command to perform on the FTP. * @param expression the remoteFilePath SpEL expression. * @return the {@link FtpOutboundGatewaySpec} * @see RemoteFileTemplate */ public static FtpOutboundGatewaySpec outboundGateway(RemoteFileTemplate<FTPFile> remoteFileTemplate, String command, String expression) { return new FtpOutboundGatewaySpec(new FtpOutboundGateway(remoteFileTemplate, command, expression)); }