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
import org.eclipse.core.filesystem.IFileInfo;
import org.eclipse.core.filesystem.IFileStore;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.content.IContentDescription;
import org.eclipse.core.runtime.content.IContentType;
import org.eclipse.osgi.util.NLS;
import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
import org.eclipse.ui.statushandlers.StatusManager;
/**
 * Utility class supporting common information required from resources.
 * 
 * @since 3.2
 * 
 */
public class IDEResourceInfoUtils {
	private static String BYTES_LABEL = IDEWorkbenchMessages.ResourceInfo_bytes;
	/**
	 * An empty string to reuse.
	 */
	public static final String EMPTY_STRING = ""; 
	private static String FILE_LABEL = IDEWorkbenchMessages.ResourceInfo_file;
	private static String FILE_NOT_EXIST_TEXT = IDEWorkbenchMessages.ResourceInfo_fileNotExist;
	private static String FILE_TYPE_FORMAT = IDEWorkbenchMessages.ResourceInfo_fileTypeFormat;