Package jetbrains.mps.tool.common
Class PathManager
- java.lang.Object
 - 
- jetbrains.mps.tool.common.PathManager
 
 
- 
public class PathManager extends Object
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringPLUGINS_FOLDERstatic StringPROPERTY_PATHS_SELECTOR 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanensureConfigFolderExists(boolean createIfNotExists)static StringgetHomePath()static StringgetPluginsPath()static StringgetResourceRoot(Class context, String path)* Attempts to detect classpath entry which contains given resourcestatic StringsubstituteVars(String s)static StringsubstituteVars(String s, String ideaHomePath) 
 - 
 
- 
- 
Field Detail
- 
PROPERTY_PATHS_SELECTOR
@NonNls public static final String PROPERTY_PATHS_SELECTOR
- See Also:
 - Constant Field Values
 
 
- 
PLUGINS_FOLDER
@NonNls public static final String PLUGINS_FOLDER
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getHomePath
public static String getHomePath()
 
- 
ensureConfigFolderExists
public static boolean ensureConfigFolderExists(boolean createIfNotExists)
 
- 
getPluginsPath
public static String getPluginsPath()
 
- 
getResourceRoot
@Nullable public static String getResourceRoot(Class context, @NonNls String path)
* Attempts to detect classpath entry which contains given resource 
 - 
 
 -