can I convert a java.io.File to VirtualFile ? Permanently deleted user Created March 14, 2004 13:46 this File(a java class) is in a Project
LocalFileSystem.getInstance().findFileByIoFile(File file) (if the file
already exists in VFS)
or LocalFileSystem.getInstance().refreshAndFindFileByIoFile(File file)
--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Dragon" <jbuilder@vip.sina.com> wrote in message
news:c31noc$89q$1@is.intellij.net...
>
>
Dragon wrote:
use LocalFileSystem.refreshAndFindFileByIOFile() or
LocalFileSystem.findFileByIOFile()
(the file does not have to be in project).
Friendly,
Dmitry
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"