Bug 251995 [LinkedResources] Error logged when opening Properties dlg on a Linked Resource folder involving a path variable
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/IDEResourceInfoUtils.java
private static String FOLDER_LABEL = IDEWorkbenchMessages.ResourceInfo_folder;
	private static String LINKED_FILE_LABEL = IDEWorkbenchMessages.ResourceInfo_linkedFile;
	private static String LINKED_FOLDER_LABEL = IDEWorkbenchMessages.ResourceInfo_linkedFolder;
	private static String MISSING_PATH_VARIABLE_TEXT = IDEWorkbenchMessages.ResourceInfo_undefinedPathVariable;
	private static String NOT_EXIST_TEXT = IDEWorkbenchMessages.ResourceInfo_notExist;
	private static String NOT_LOCAL_TEXT = IDEWorkbenchMessages.ResourceInfo_notLocal;
	private static String PROJECT_LABEL = IDEWorkbenchMessages.ResourceInfo_project;
	private static String UNKNOWN_LABEL = IDEWorkbenchMessages.ResourceInfo_unknown;
	/**
	 * Return whether or not the file called pathName exists.
	 * 
	 * @param pathName
	 * @return boolean <code>true</code> if the file exists.
	 * @see IFileInfo#exists()
	 */
	public static boolean exists(String pathName) {
		IFileInfo info = getFileInfo(pathName);
		if (info == null) {
			return false;
		}
		return info.exists();
	}
	private static String getContentTypeString(IContentDescription description) {
		if (description != null) {
			IContentType contentType = description.getContentType();
			if (contentType != null) {
				return contentType.getName();
			}
		}
		return null;