|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.common.FascinatorHome
public class FascinatorHome
Manages the Fascinator home directory. Default Fascinator home directory: ${user.home}/.fascinator NOTE: ${user.home} in:
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_PATH
Default Fascinator home directory |
static org.slf4j.Logger |
log
Logging |
static java.lang.String |
SYSTEM_KEY
System property key |
| Constructor Summary | |
|---|---|
FascinatorHome()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getPath()
Gets the Fascinator home directory, which is used for configuration, storage, etc. |
static java.lang.String |
getPath(java.lang.String subDir)
Gets a relative directory inside the Fascinator home directory. |
static java.io.File |
getPathFile()
Gets the Fascinator home directory as a File object. |
static java.io.File |
getPathFile(java.lang.String subDir)
Gets a relative directory inside the Fascinator home directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.slf4j.Logger log
public static final java.lang.String SYSTEM_KEY
public static final java.lang.String DEFAULT_PATH
| Constructor Detail |
|---|
public FascinatorHome()
| Method Detail |
|---|
public static java.lang.String getPath()
public static java.lang.String getPath(java.lang.String subDir)
subDir - the directory name
public static java.io.File getPathFile()
public static java.io.File getPathFile(java.lang.String subDir)
subDir - the directory name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||