|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.subsystems.files.core.model.RemotePath
Class representing a remote path.
| Field Summary | |
|---|---|
protected String |
absolutePath
|
protected String |
connectionName
|
protected String |
profileName
|
| Constructor Summary | |
|---|---|
RemotePath(String fullyQualifiedPath)
Sets the profile name, connection name and absolute path on the remote machine from the fully qualified path. |
|
RemotePath(String profileName,
String connectionName,
String absolutePath)
Constructor. |
|
| Method Summary | |
|---|---|
IRemotePath |
addFileExtension(String extension)
Returns a new path with the file extension added to this path. |
String |
getAbsolutePath()
Returns the absolute path. |
String |
getConnectionName()
Returns the connection name. |
String |
getFileExtension()
Returns the file extension for the path. |
String |
getFullyQualifiedPath()
Returns the fully qualified path. |
String |
getProfileName()
Returns the profile name. |
boolean |
isVirtual()
Returns whether this path represents a virtual file. |
IRemotePath |
removeFileExtension()
Returns a new path with the file extension removed from this path. |
protected void |
setAbsolutePath(String absolutePath)
|
protected void |
setConnectionName(String connectionName)
|
protected void |
setProfileName(String profileName)
|
IRemoteFile |
toRemoteFile()
Returns the remote file represented by the remote path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String profileName
protected String connectionName
protected String absolutePath
| Constructor Detail |
public RemotePath(String profileName,
String connectionName,
String absolutePath)
profileName - the profile name.connectionName - the connection name.absolutePath - the absolute path.public RemotePath(String fullyQualifiedPath)
"profileName.connectionName:absolutePath".
fullyQualifiedPath - the fully qualified path.| Method Detail |
protected void setProfileName(String profileName)
org.eclipse.rse.subsystems.files.core.model.IRemotePath#setProfileName(java.lang.String)protected void setConnectionName(String connectionName)
org.eclipse.rse.subsystems.files.core.model.IRemotePath#setConnectionName(java.lang.String)protected void setAbsolutePath(String absolutePath)
org.eclipse.rse.subsystems.files.core.model.IRemotePath#setAbsolutePath(java.lang.String)public String getProfileName()
IRemotePath
getProfileName in interface IRemotePathIRemotePath.getProfileName()public String getConnectionName()
IRemotePath
getConnectionName in interface IRemotePathIRemotePath.getConnectionName()public String getAbsolutePath()
IRemotePath
getAbsolutePath in interface IRemotePathIRemotePath.getAbsolutePath()public String getFullyQualifiedPath()
IRemotePathnull, then the fully qualified path
will also be null.
getFullyQualifiedPath in interface IRemotePathIRemotePath.getFullyQualifiedPath()public String getFileExtension()
IRemotePath
getFileExtension in interface IRemotePathnull if none.IRemotePath.getFileExtension()public IRemotePath addFileExtension(String extension)
IRemotePath
addFileExtension in interface IRemotePathextension - the file extension to append to the path.
IRemotePath.addFileExtension(java.lang.String)public IRemotePath removeFileExtension()
IRemotePath
removeFileExtension in interface IRemotePathorg.eclipse.rse.subsystems.files.core.model.IRemotePath#removeFileExtension(java.lang.String)public boolean isVirtual()
IRemotePath
isVirtual in interface IRemotePathtrue if the path represents a virtual file, false otherwise.IRemotePath.isVirtual()public IRemoteFile toRemoteFile()
IRemotePath
toRemoteFile in interface IRemotePathIRemotePath.toRemoteFile()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||