return null;
}
IRepositoryResource[] resources = { resource };
int depth = 0;
ExportOperation exportOperation = new ExportOperation(resources,
directory.getAbsolutePath(), depth);
exportOperation.run(new NullProgressMonitor());
String name = resource.getName();
return FileUtil.getFile(name, directory);
}