* @param path the path (relative to root)
* @return the resource
*/
public static Resource create(File root, String path)
{
FileResourceProvider frp = null;
try
{
frp = new FileResourceProvider(root);
}
catch(IOException e)
{
throw new RuntimeException(e);
}
return frp.createResource(path);
}