org.schmant.project.intellij
Class IntelliJSupport

java.lang.Object
  extended by org.schmant.project.intellij.IntelliJSupport

public final class IntelliJSupport
extends Object

Support class with static methods.

Since:
0.7.1
Author:
Karl Gustafsson

Method Summary
static IntelliJUrl evaluateIntelliJUrl(String url, DirectoryView projectDir, DirectoryView moduleDir, DirectoryView appHomeDir, String moduleName)
          Evaluate the supplied URL and return the entity that it points to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

evaluateIntelliJUrl

public static IntelliJUrl evaluateIntelliJUrl(String url,
                                              DirectoryView projectDir,
                                              DirectoryView moduleDir,
                                              DirectoryView appHomeDir,
                                              String moduleName)
                                       throws SchmantException
Evaluate the supplied URL and return the entity that it points to.

Parameters:
url - The URL to evaluate.
Returns:
An object representing the URL, or null if the URL does not reference an existing file or directory.
Throws:
SchmantException - If the URL cannot be evaluated.