drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java
public static IFile getResourceFromFSPath(String location) {
        return Activator.getDefault().getWorkspace().
                getRoot().getFileForLocation(new Path(location));
    }
public static IFile getResourceFromFSPath(String location) {
        return Activator.getDefault().getWorkspace().
                getRoot().getFileForLocation(new Path(location));
    }
public static IFile getResourceFromFSPath ( String location ) { return Activator . getDefault ( ) . getWorkspace ( ) . getRoot ( ) . getFileForLocation ( new Path ( location ) ) ; }
Resolves a file system location to an Eclipse workspace resource.
@param location The file system location
@return The Eclipse <code>IFile</code>, null if not found
Resolves a file system location to an Eclipse workspace resource .