com.pnp.xfeature.project
Class PathUtil

java.lang.Object
  extended by com.pnp.xfeature.project.PathUtil

public class PathUtil
extends java.lang.Object

Helper class to get an IFile workspace file location from an absolute file location.


Constructor Summary
PathUtil()
           
 
Method Summary
static IFile findFileResourceByLocation(java.lang.String fileLocation)
          Helper mehtod to get an IFile workspace file location from an absolute file location.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathUtil

public PathUtil()
Method Detail

findFileResourceByLocation

public static IFile findFileResourceByLocation(java.lang.String fileLocation)
Helper mehtod to get an IFile workspace file location from an absolute file location.

Parameters:
fileLocation - abslute path to a file on the file system
Returns:
The file in the eclipse workspace


Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.