org.apache.camel.component.file.remote
Class SftpUtils

java.lang.Object
  extended by org.apache.camel.component.file.remote.SftpUtils

public final class SftpUtils
extends Object

Utility methods for SFTP.


Method Summary
static boolean buildDirectory(com.jcraft.jsch.ChannelSftp sftpClient, String dirName)
           
static boolean buildDirectoryChunks(com.jcraft.jsch.ChannelSftp sftpClient, String dirName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildDirectory

public static boolean buildDirectory(com.jcraft.jsch.ChannelSftp sftpClient,
                                     String dirName)
                              throws IOException,
                                     com.jcraft.jsch.SftpException
Throws:
IOException
com.jcraft.jsch.SftpException

buildDirectoryChunks

public static boolean buildDirectoryChunks(com.jcraft.jsch.ChannelSftp sftpClient,
                                           String dirName)
                                    throws IOException,
                                           com.jcraft.jsch.SftpException
Throws:
IOException
com.jcraft.jsch.SftpException


Apache CAMEL