public class DefaultScpClient extends Object implements ScpClient
ScpClient.Option| Constructor and Description |
|---|
DefaultScpClient(ClientSession clientSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
download(String[] remote,
String local,
ScpClient.Option... options) |
protected void |
download(String remote,
String local,
Collection<ScpClient.Option> options) |
void |
download(String remote,
String local,
ScpClient.Option... options) |
protected void |
upload(String[] local,
String remote,
Collection<ScpClient.Option> options) |
void |
upload(String[] local,
String remote,
ScpClient.Option... options) |
void |
upload(String local,
String remote,
ScpClient.Option... options) |
public DefaultScpClient(ClientSession clientSession)
public void download(String remote, String local, ScpClient.Option... options) throws IOException
download in interface ScpClientIOExceptionpublic void download(String[] remote, String local, ScpClient.Option... options) throws IOException
download in interface ScpClientIOExceptionprotected void download(String remote, String local, Collection<ScpClient.Option> options) throws IOException
IOExceptionpublic void upload(String local, String remote, ScpClient.Option... options) throws IOException
upload in interface ScpClientIOExceptionpublic void upload(String[] local, String remote, ScpClient.Option... options) throws IOException
upload in interface ScpClientIOExceptionprotected void upload(String[] local, String remote, Collection<ScpClient.Option> options) throws IOException
IOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.