org.apache.ivy.plugins.repository.sftp
public class SFTPRepository extends AbstractSshBasedRepository
| Constructor Summary | |
|---|---|
| SFTPRepository() | |
| Method Summary | |
|---|---|
| void | get(String source, File destination) |
| protected String | getRepositoryScheme() |
| Resource | getResource(String source) |
| List | list(String parent) |
| InputStream | openStream(SFTPResource resource) |
| void | put(File source, String destination, boolean overwrite) |
| Resource | resolveResource(String path)
This method is similar to getResource, except that the returned resource is fully initialized
(resolved in the sftp repository), and that the given string is a full remote path
|
Parameters: path the full remote path in the repository of the resource
Returns: a fully initialized resource, able to answer to all its methods without needing any further connection