Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Target Management » Convert IFile to IRemoteFile
Convert IFile to IRemoteFile [message #1151790] Wed, 23 October 2013 15:59 Go to next message
Martin Tauber is currently offline Martin Tauber
Messages: 120
Registered: July 2009
Senior Member
Hi everybody,

How do I convert an IFile (which actually point to a remote file) to a
IRemoteFile?

Thanks
Martin
Re: Convert IFile to IRemoteFile [message #1151808 is a reply to message #1151790] Wed, 23 October 2013 16:15 Go to previous message
Martin Tauber is currently offline Martin Tauber
Messages: 120
Registered: July 2009
Senior Member
Hi everybody

I figured it out myself.

You have to get the appropriate IRemoteFileSubSystem and then call
IRemoteFileSubSystem.getRemoteFileObject(path from IFile)

Regards
Martin


Am 23.10.13 17:59, schrieb Martin Tauber:
> Hi everybody,
>
> How do I convert an IFile (which actually point to a remote file) to a
> IRemoteFile?
>
> Thanks
> Martin
Previous Topic:importing existing remote projects
Next Topic:capture output of one command
Goto Forum:
  


Current Time: Thu Oct 30 18:14:39 GMT 2014

Powered by FUDForum. Page generated in 0.01566 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software