Class BinSshConnection
java.lang.Object
net.thevpc.nuts.ext.ssh.SshConnectionBase
net.thevpc.nuts.ext.ssh.bin.BinSshConnection
- All Implemented Interfaces:
AutoCloseable, SshConnection
-
Field Summary
Fields inherited from class SshConnectionBase
connectionString, listenersFields inherited from interface SshConnection
IDENTITY_FILE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intexecStringCommand(String command, IOBindings io) getInputStream(String from) getOutputStream(String path) booleanisAlive()booleanisClosed()prepareStream(File file) Methods inherited from class SshConnectionBase
addListener, cmdArrayToString, cp, doEscapeArg, execArrayCommand, execArrayCommandGrabbed, execListCommand, execStringCommandGrabbed, failFast, getCharset, getContentEncoding, getContentLength, getContentType, getDigestWithCommand, getInfo, isFailFast, list, listInfos, mkdir, mv, removeListener, reset, rm, sailFast, setFailFast, type, walk
-
Constructor Details
-
BinSshConnection
-
-
Method Details
-
execStringCommand
-
getInputStream
-
getOutputStream
-
isAlive
public boolean isAlive() -
isClosed
public boolean isClosed() -
close
public void close() -
prepareStream
- Throws:
FileNotFoundException
-