public interface IRemoteFileService extends IRemoteConnection.Service
IRemoteConnection.Service.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.
|
org.eclipse.core.filesystem.IFileStore |
getResource(java.lang.String path)
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.
|
getRemoteConnection
org.eclipse.core.filesystem.IFileStore getResource(java.lang.String path)
path
- path to resourcejava.lang.String getBaseDirectory()
void setBaseDirectory(java.lang.String path)
path
- new base directoryjava.lang.String getDirectorySeparator()
java.lang.String toPath(java.net.URI uri)
java.net.URI toURI(org.eclipse.core.runtime.IPath path)
path
- path on remote systemjava.net.URI toURI(java.lang.String path)
path
- path on remote system