|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.remote.core.RemoteServicesUtils
public class RemoteServicesUtils
Remote services utility methods.
| Constructor Summary | |
|---|---|
RemoteServicesUtils()
|
|
| Method Summary | |
|---|---|
static IRemoteConnection |
getConnectionWithProgress(java.lang.String remoteServicesId,
java.lang.String connectionName,
IProgressMonitor monitor)
Utility method to get a remote connection given a remote services ID and a connection name. |
static IFileStore |
getRemoteFileWithProgress(java.lang.String remoteServicesId,
java.lang.String connectionName,
java.lang.String path,
IProgressMonitor monitor)
Utility method to get a file store corresponding to the given path. |
static java.net.URI |
toURI(IPath path)
Convert a UNC path to a URI Maps the UNC server component to a connection known by one of the remote service implementations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteServicesUtils()
| Method Detail |
|---|
public static IRemoteConnection getConnectionWithProgress(java.lang.String remoteServicesId,
java.lang.String connectionName,
IProgressMonitor monitor)
remoteServicesId - ID of remote services providing the connectionconnectionName - name of the connection to findmonitor - progress monitor
public static IFileStore getRemoteFileWithProgress(java.lang.String remoteServicesId,
java.lang.String connectionName,
java.lang.String path,
IProgressMonitor monitor)
remoteServicesId - ID of remote services providing the connectionconnectionName - name of the remote connection to usepath - path of file on remote systemmonitor - progress monitor
public static java.net.URI toURI(IPath path)
path - UNC path
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||