public class JSchFileManager extends java.lang.Object implements IRemoteFileService
| Modifier and Type | Class and Description |
|---|---|
static class |
JSchFileManager.Factory |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseDirectory()
Get the base directory to be used for relative paths.
|
java.lang.String |
getDirectorySeparator()
Gets the directory separator on the target system.
|
IRemoteConnection |
getRemoteConnection() |
org.eclipse.core.filesystem.IFileStore |
getResource(java.lang.String pathStr)
Get the resource associated with path.
|
void |
setBaseDirectory(java.lang.String path)
Set the base directory to be used for relative paths..
|
java.lang.String |
toPath(java.net.URI uri)
Convert URI to a remote path.
|
java.net.URI |
toURI(org.eclipse.core.runtime.IPath path)
Convert remote path to equivalent URI.
|
java.net.URI |
toURI(java.lang.String path)
Convert string representation of a remote path to equivalent URI.
|
public IRemoteConnection getRemoteConnection()
getRemoteConnection in interface IRemoteConnection.Servicepublic java.lang.String getDirectorySeparator()
IRemoteFileServicegetDirectorySeparator in interface IRemoteFileServicepublic org.eclipse.core.filesystem.IFileStore getResource(java.lang.String pathStr)
IRemoteFileServicegetResource in interface IRemoteFileServicepathStr - path to resourcepublic java.lang.String getBaseDirectory()
IRemoteFileServicegetBaseDirectory in interface IRemoteFileServicepublic void setBaseDirectory(java.lang.String path)
IRemoteFileServicesetBaseDirectory in interface IRemoteFileServicepath - new base directorypublic java.lang.String toPath(java.net.URI uri)
IRemoteFileServicetoPath in interface IRemoteFileServicepublic java.net.URI toURI(org.eclipse.core.runtime.IPath path)
IRemoteFileServicetoURI in interface IRemoteFileServicepath - path on remote systempublic java.net.URI toURI(java.lang.String path)
IRemoteFileServicetoURI in interface IRemoteFileServicepath - path on remote system