|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
This interface is used to provide a common way of mapping mounted resources to the temp files project. Since local mounts can change or be removed (i.e. disconnected) this provides a way for a vender to remap a particular resource if the vender software is able to determine the new mount location. Implementors of this interface should register their mappers via the mountPathMapper extension point.
| Method Summary | |
|---|---|
String |
getActualHostFor(String hostname,
String remotePath)
Returns the corresponding hostname for the specified path on the specified host. |
String |
getMountedMappingFor(String hostname,
String remotePath)
Returns the local system path that can be used for copying the replica back to remote. |
String |
getWorkspaceMappingFor(String hostname,
String remotePath)
Returns the qualified workspace path for a replica of this mounted file. |
boolean |
handlesMappingFor(String hostname,
String remotePath)
Indicates whether this mapper handles remapping of the specified resource |
| Method Detail |
public boolean handlesMappingFor(String hostname,
String remotePath)
hostname - the remote hostremotePath - the remote path as seen by the local file subsystem
public String getWorkspaceMappingFor(String hostname,
String remotePath)
hostname - the remote hostremotePath - the remote path as seen by the local file subsystem
public String getActualHostFor(String hostname,
String remotePath)
hostname - the system hostremotePath - the path on the system host
public String getMountedMappingFor(String hostname,
String remotePath)
hostname - the remote hostremotePath - the remote path as seen by the local file subsystem
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||