|
RSE Release 3.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.RemoteFileUtility
public class RemoteFileUtility
Public utility class for dealing with remote file subsystems.
Constructor Summary | |
---|---|
RemoteFileUtility()
|
Method Summary | |
---|---|
static IRemoteFileSubSystem |
getFileSubSystem(IHost connection)
Return the first remote file subsystem associated with a connection. |
static IRemoteFileSubSystemConfiguration |
getFileSubSystemConfiguration(IRSESystemType systemType)
Return the first remote file subsystem configuration associated with a system type. |
static IRemoteFileSubSystem[] |
getFileSubSystems(IHost connection)
Return the list of file subsystems associated with a connection. |
static String |
getSourceEncoding(IFile file)
Return the workspace encoding for a given IFile. |
static ISystemFileTransferModeRegistry |
getSystemFileTransferModeRegistry()
Return the global SystemFileTransferModeRegistry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteFileUtility()
Method Detail |
---|
public static String getSourceEncoding(IFile file)
public static IRemoteFileSubSystem getFileSubSystem(IHost connection)
connection
- the connection to query.
null
if
no file subsystem is configured with the given connection.public static IRemoteFileSubSystem[] getFileSubSystems(IHost connection)
connection
- the connection to query.
public static IRemoteFileSubSystemConfiguration getFileSubSystemConfiguration(IRSESystemType systemType)
systemType
- the system type to query.
null
if
no file subsystem is configured with the given system type.public static ISystemFileTransferModeRegistry getSystemFileTransferModeRegistry()
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |