如何创建一个org.eclipse.core.resources.IFile对象实例
引入org.eclipse.core.resources插件工程 使用如下代码:
String filePaht ="abx.xml"
IFile firstFile = ResourcesPlugin.getWorkspace().getRoot().getFile(Path.fromOSString(filePaht ));
IFile secondFile = ResourcesPlugin.getWorkspace().getRoot().getFile(Path.fromPortableString(filePaht ));
:D good~