org.granite.builder.util
Class FileUtil

java.lang.Object
  extended by org.granite.builder.util.FileUtil

public class FileUtil
extends java.lang.Object

Author:
Franck WOLFF

Constructor Summary
FileUtil()
           
 
Method Summary
static java.io.File getLocationFile(org.eclipse.core.resources.IResource resource)
           
static java.lang.String getLocationPath(org.eclipse.core.resources.IResource resource)
           
static java.net.URI getLocationURI(org.eclipse.core.resources.IResource resource)
           
static org.eclipse.core.runtime.IPath makeRelativeTo(org.eclipse.core.runtime.IPath parent, org.eclipse.core.runtime.IPath child)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil

public FileUtil()
Method Detail

getLocationURI

public static java.net.URI getLocationURI(org.eclipse.core.resources.IResource resource)
                                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getLocationPath

public static java.lang.String getLocationPath(org.eclipse.core.resources.IResource resource)
                                        throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getLocationFile

public static java.io.File getLocationFile(org.eclipse.core.resources.IResource resource)
                                    throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

makeRelativeTo

public static org.eclipse.core.runtime.IPath makeRelativeTo(org.eclipse.core.runtime.IPath parent,
                                                            org.eclipse.core.runtime.IPath child)