public abstract class SshConnectionBase extends Object implements SshConnection
| Modifier and Type | Field and Description |
|---|---|
protected NConnectionString |
connectionString |
protected List<SshListener> |
listeners |
IDENTITY_FILE| Constructor and Description |
|---|
SshConnectionBase() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, execStringCommand, getInputStream, getOutputStream, isAlive, isClosedprotected List<SshListener> listeners
protected NConnectionString connectionString
public void reset()
reset in interface SshConnectionpublic SshConnection addListener(SshListener listener)
addListener in interface SshConnectionpublic boolean isFailFast()
public SshConnection failFast(boolean failFast)
public SshConnection removeListener(SshListener listener)
removeListener in interface SshConnectionpublic int execListCommand(List<String> command, IOBindings io)
execListCommand in interface SshConnectionpublic int execArrayCommand(String[] command, IOBindings io)
execArrayCommand in interface SshConnectionpublic int mv(String from, String to)
mv in interface SshConnectionpublic IOResult execArrayCommandGrabbed(String... command)
execArrayCommandGrabbed in interface SshConnectionpublic IOResult execStringCommandGrabbed(String command)
execStringCommandGrabbed in interface SshConnectionpublic void rm(String from, boolean R)
rm in interface SshConnectionpublic NPathType type(String path)
type in interface SshConnectionpublic void mkdir(String from, boolean p)
mkdir in interface SshConnectionpublic List<String> list(String path)
list in interface SshConnectionpublic long getContentLength(String basePath)
getContentLength in interface SshConnectionpublic String getContentEncoding(String basePath)
getContentEncoding in interface SshConnectionpublic String getContentType(String basePath)
getContentType in interface SshConnectionpublic String getCharset(String basePath)
getCharset in interface SshConnectionpublic void cp(String path, String path1, boolean recursive)
cp in interface SshConnectionpublic List<String> walk(String path, boolean followLinks, int maxDepth)
walk in interface SshConnectionpublic byte[] getDigestWithCommand(String algo, String basePath)
getDigestWithCommand in interface SshConnectionpublic List<NPathInfo> listInfos(String path)
listInfos in interface SshConnectionpublic NPathInfo getInfo(String path)
getInfo in interface SshConnectionCopyright © 2026 vpc open source initiative. All rights reserved.