| org.apache.ivy.plugins.repository.ssh.AbstractSshBasedRepository org.apache.ivy.plugins.repository.ssh.SshRepository
getCreateDirCommand | public String getCreateDirCommand()(Code) | | the createDirCommand |
getExistCommand | public String getExistCommand()(Code) | | the existCommand |
getListCommand | public String getListCommand()(Code) | | the list command to use |
getRepositoryScheme | protected String getRepositoryScheme()(Code) | | return ssh as scheme use the Resolver type name here? would be nice if it would be static, so
we could use SshResolver.getTypeName()
|
getResource | public Resource getResource(String source)(Code) | | create a new resource with lazy initializing
|
openStream | public InputStream openStream(SshResource resource) throws IOException(Code) | | Not really streaming...need to implement a proper streaming approach?
Parameters: resource - to stream InputStream of the resource data |
setCreateDirCommand | public void setCreateDirCommand(String createDirCommand)(Code) | | Parameters: createDirCommand - the createDirCommand to set |
setExistCommand | public void setExistCommand(String existCommand)(Code) | | Parameters: existCommand - the existCommand to set |
setFileSeparator | public void setFileSeparator(char fileSeparator)(Code) | | The file separator is the separator to use on the target system On a unix system it is '/',
but I don't know, how this is solved on different ssh implementations. Using the default
might be fine
Parameters: fileSeparator - The fileSeparator to use. default '/' |
setListCommand | public void setListCommand(String cmd)(Code) | | sets the list command to use for a directory listing listing must be only the filename and
each filename on a separate line
Parameters: cmd - to use. default is "ls -1" |
|
|