org.eclipse.jpt.core.utility
Class PlatformUtilities

java.lang.Object
  extended by org.eclipse.jpt.core.utility.PlatformUtilities

public class PlatformUtilities
extends java.lang.Object

A collection of utilities for dealing with eclipse platform API


Method Summary
static org.eclipse.core.runtime.content.IContentType getContentType(org.eclipse.core.resources.IFile file)
          Retrieves the content type for the IFile referenced.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContentType

public static org.eclipse.core.runtime.content.IContentType getContentType(org.eclipse.core.resources.IFile file)
Retrieves the content type for the IFile referenced. (Makes sure to close the input stream)