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 ScpClient
IOException
public void download(String[] remote, String local, ScpClient.Option... options) throws IOException
download
in interface ScpClient
IOException
protected void download(String remote, String local, Collection<ScpClient.Option> options) throws IOException
IOException
public void upload(String local, String remote, ScpClient.Option... options) throws IOException
upload
in interface ScpClient
IOException
public void upload(String[] local, String remote, ScpClient.Option... options) throws IOException
upload
in interface ScpClient
IOException
protected void upload(String[] local, String remote, Collection<ScpClient.Option> options) throws IOException
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.