add toStrin

This commit is contained in:
Looly
2020-04-21 21:49:01 +08:00
parent 81cb7fb660
commit 355dc15aad
2 changed files with 10 additions and 0 deletions

View File

@@ -408,6 +408,15 @@ public class Sftp extends AbstractFtp {
JschUtil.close(this.session);
}
@Override
public String toString() {
return "Sftp{" +
"host='" + host + '\'' +
", port=" + port +
", user='" + user + '\'' +
'}';
}
/**
* JSch支持的三种文件传输模式
*