org.eclipse.ecf.provider.filetransfer.browse
Class LocalRemoteFile

java.lang.Object
  extended by org.eclipse.ecf.provider.filetransfer.browse.LocalRemoteFile
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IRemoteFile

public class LocalRemoteFile
extends java.lang.Object
implements IRemoteFile

Local representation of an IRemoteFile.


Constructor Summary
LocalRemoteFile(java.io.File file)
           
 
Method Summary
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 IFileID getID()
          Get the remote file id associated with this file.
 IRemoteFileInfo getInfo()
          Get remote file info associated with this remote file.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalRemoteFile

public LocalRemoteFile(java.io.File file)
Parameters:
file -
Method Detail

getID

public IFileID getID()
Description copied from interface: IRemoteFile
Get the remote file id associated with this file.

Specified by:
getID in interface IRemoteFile
Returns:
the file id associated with this file. Will not be null.

getInfo

public IRemoteFileInfo getInfo()
Description copied from interface: IRemoteFile
Get remote file info associated with this remote file.

Specified by:
getInfo in interface IRemoteFile
Returns:
file info. Will not be null.

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object