public abstract class AbstractSshClient extends Object implements SshClient
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
LATEEST_EXEC_SHELL_DEBUG |
static String |
TEMP_PATH |
STATUS_FAILED, STATUS_SUCCESS| 构造器和说明 |
|---|
AbstractSshClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
chmod(PrintStream logger,
int mode,
String path) |
int |
chown(PrintStream logger,
String own,
String path) |
int |
downloadFile(PrintStream logger,
String remoteFile,
String localFolder) |
int |
executeCommand(PrintStream logger,
InputStream command) |
int |
executeShellByFTP(PrintStream logger,
InputStream shell) |
int |
executeShellByFTP(PrintStream logger,
String shell) |
int |
mv(PrintStream logger,
String source,
String dest) |
int |
rm_Rf(PrintStream logger,
String path) |
int |
uploadFile(PrintStream logger,
String fileName,
File file,
String serverLocation) |
int |
uploadFile(PrintStream logger,
String fileName,
String fileContent,
String serverLocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdownloadFile, executeCommand, executeShell, testConnection, uploadFilepublic int uploadFile(PrintStream logger, String fileName, File file, String serverLocation)
uploadFile 在接口中 SshClientpublic int uploadFile(PrintStream logger, String fileName, String fileContent, String serverLocation)
uploadFile 在接口中 SshClientpublic int downloadFile(PrintStream logger, String remoteFile, String localFolder)
downloadFile 在接口中 SshClientpublic int executeShellByFTP(PrintStream logger, InputStream shell)
public int executeShellByFTP(PrintStream logger, String shell)
executeShellByFTP 在接口中 SshClientpublic int chmod(PrintStream logger, int mode, String path)
public int chown(PrintStream logger, String own, String path)
public int mv(PrintStream logger, String source, String dest)
public int rm_Rf(PrintStream logger, String path)
public int executeCommand(PrintStream logger, InputStream command)
Copyright © 2004-2015. All Rights Reserved.