|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.joanju.common.JoanjuConfigDir
public class JoanjuConfigDir
Provides services for working with configuration files for Joanju products and libraries.
The configuration directory is found this way:
-Djoanju.configdir
joanjuconfig in the context directory, which might be your "./"
working directory. When running in a servlet container like Tomcat, this is the Callgraph
installation directory itself.
joanjuconfig in the home directory.
| Constructor Summary | |
|---|---|
JoanjuConfigDir()
|
|
| Method Summary | |
|---|---|
static java.io.File |
getConfigDir()
This returns the joanjuconfig directory, which might be null. |
static java.io.File |
getConfigFile(java.lang.String filename)
Find a config file in the joanjuconfig directory, might return null. |
static void |
setConfigDir(java.io.File f)
The application may perform an assignment of the configuration directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JoanjuConfigDir()
| Method Detail |
|---|
public static java.io.File getConfigDir()
public static java.io.File getConfigFile(java.lang.String filename)
public static void setConfigDir(java.io.File f)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||