|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcreamtec.core.Utilities
public class Utilities
Contains various helper methods
| Field Summary | |
|---|---|
static java.lang.String |
CREAMTEC_ROOT
|
| Method Summary | |
|---|---|
static java.lang.String |
getConfDir()
Returns the path to the configuration directory, which is called "conf" and is located under root directory |
static java.lang.String |
getConfFullPath(java.lang.String fileName)
Returns the full path to a given file starting from the configuration directory |
static java.lang.String |
getFullPath(java.lang.String fileName)
Returns the full path to a given file starting from the root directory |
static java.lang.String |
getRootDir()
Returns the home directory specified via creamtec.home JVM property |
static void |
setRootDir(java.lang.String dir)
Can be used to provide the directory where the property file is located |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CREAMTEC_ROOT
| Method Detail |
|---|
public static java.lang.String getRootDir()
public static java.lang.String getConfDir()
public static java.lang.String getFullPath(java.lang.String fileName)
fileName - file name
public static java.lang.String getConfFullPath(java.lang.String fileName)
fileName - file name
public static void setRootDir(java.lang.String dir)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||