fun.mike.frontier.impl.alpha.SftpConnector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of frontier-alpha Show documentation
Show all versions of frontier-alpha Show documentation
A file transfer library. Wraps commons-net and JSch.
package fun.mike.frontier.impl.alpha;
import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.Session;
public class SftpConnector {
private final Session session;
private final ChannelSftp channel;
public SftpConnector(Session session, ChannelSftp channelSftp) {
this.session = session;
this.channel = channelSftp;
}
public ChannelSftp getChannel() {
return channel;
}
public Session getSession() {
return session;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy