Class ScpClientImpl
- java.lang.Object
-
- com.chutneytesting.action.ssh.scp.ScpClientImpl
-
- All Implemented Interfaces:
ScpClient,AutoCloseable
public class ScpClientImpl extends Object implements ScpClient
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScpClientbuildFor(Target target, long timeout)voidclose()voiddownload(String remote, String local)voidupload(String local, String remote)
-
-
-
Method Detail
-
upload
public void upload(String local, String remote) throws IOException
- Specified by:
uploadin interfaceScpClient- Throws:
IOException
-
download
public void download(String remote, String local) throws IOException
- Specified by:
downloadin interfaceScpClient- Throws:
IOException
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
buildFor
public static ScpClient buildFor(Target target, long timeout) throws IOException
- Throws:
IOException
-
-