This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
converting java.io.File to org.eclipse.core.resources.IFile
posted 5 years ago
Is there any possibility to convert java's File to eclipse's IFile. My requirement is opening a word document file within the eclipse editor(not outside of eclipse). I've the java.io.File but the openEditor() method receives its arguments as IFile only. Now I can open the word document on outside the eclipse through the code
I've tried to open a word document file within eclipse editor, but it give me an exception. Code as
Life is either daring something or nothing - Helen Keller