Class ConnectionToSftpServer

java.lang.Object
jp.ecuacion.tool.housekeepfiles.bean.ConnectionToRemoteServer
jp.ecuacion.tool.housekeepfiles.bean.ConnectionToSftpServer

public class ConnectionToSftpServer extends ConnectionToRemoteServer
Provides connection to remote server through sftp.
  • Constructor Details

    • ConnectionToSftpServer

      public ConnectionToSftpServer(com.jcraft.jsch.Session sftpSession, com.jcraft.jsch.ChannelSftp sftpConnection)
      Construct a new instance.
  • Method Details

    • getSftpChannel

      public com.jcraft.jsch.ChannelSftp getSftpChannel()
    • setSftpChannel

      public void setSftpChannel(com.jcraft.jsch.ChannelSftp sftpChannel)
    • closeConnection

      public void closeConnection()
      Description copied from class: ConnectionToRemoteServer
      Provides close connection implementation.
      Specified by:
      closeConnection in class ConnectionToRemoteServer