public class Sftp
extends java.lang.Object
FileSystem
.Constructor and Description |
---|
Sftp(java.lang.String username,
java.lang.String host,
int port) |
Sftp(java.net.URI uri) |
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
getBasePath() |
java.nio.file.FileSystem |
getFileSystem() |
static void |
openShell(org.apache.sshd.client.session.ClientSession session) |
void |
setSshKeyPair(SshKeyPair sshKeyPair) |
public Sftp(java.lang.String username, java.lang.String host, int port)
public Sftp(java.net.URI uri)
public java.nio.file.FileSystem getFileSystem()
public java.nio.file.Path getBasePath()
public void setSshKeyPair(SshKeyPair sshKeyPair)
public static void openShell(org.apache.sshd.client.session.ClientSession session)
Copyright © 2007–2020. All rights reserved.