org.apache.camel.component.file.remote
Class SftpUtils
java.lang.Object
org.apache.camel.component.file.remote.SftpUtils
public final class SftpUtils
- extends Object
Utility methods for SFTP.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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