public final class PropertyHelperManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
confDir |
private static org.apache.log4j.Logger |
log |
private static compbio.util.PropertyHelper |
ph |
Constructor and Description |
---|
PropertyHelperManager() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getBooleanProperty(java.lang.String propValue) |
static int |
getIntProperty(java.lang.String propValue) |
static java.lang.String |
getLocalPath()
Method return the absolute path to the project root directory.
|
static compbio.util.PropertyHelper |
getPropertyHelper()
Ways to fix path problem:
1) find a path to WEB-INF directory based on the path to a known class.
|
(package private) static java.io.File |
getResourceFromClasspath(java.lang.String resourceName) |
private static org.apache.log4j.Logger log
private static compbio.util.PropertyHelper ph
public static final java.lang.String confDir
public static compbio.util.PropertyHelper getPropertyHelper()
static java.io.File getResourceFromClasspath(java.lang.String resourceName)
public static java.lang.String getLocalPath()
java.lang.RuntimeException
- if cannot determine the local pathpublic static int getIntProperty(java.lang.String propValue)
public static boolean getBooleanProperty(java.lang.String propValue)