Class LocalRemoteFile
- java.lang.Object
-
- org.eclipse.ecf.provider.filetransfer.browse.LocalRemoteFile
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,IRemoteFile
public class LocalRemoteFile extends Object implements IRemoteFile
Local representation of anIRemoteFile.
-
-
Constructor Summary
Constructors Constructor Description LocalRemoteFile(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetAdapter(Class<T> adapter)IFileIDgetID()Get the remote file id associated with this file.IRemoteFileInfogetInfo()Get remote file info associated with this remote file.StringtoString()
-
-
-
Constructor Detail
-
LocalRemoteFile
public LocalRemoteFile(File file)
- Parameters:
file- the file
-
-
Method Detail
-
getID
public IFileID getID()
Description copied from interface:IRemoteFileGet the remote file id associated with this file.- Specified by:
getIDin interfaceIRemoteFile- Returns:
- the file id associated with this file. Will not be
null.
-
getInfo
public IRemoteFileInfo getInfo()
Description copied from interface:IRemoteFileGet remote file info associated with this remote file.- Specified by:
getInfoin interfaceIRemoteFile- Returns:
- file info. Will not be
null.
-
getAdapter
public <T> T getAdapter(Class<T> adapter)
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable
-
-