|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.sanger.cgp.standalonecsa.util.PropertyUtils
public class PropertyUtils
A class which encapsulates common acitivties against property files, system properties and resource bundles
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
PropertyUtils()
|
Method Summary | |
---|---|
static java.util.Properties |
getClasspathProperties(java.lang.String classpathLocation)
For a given location this method will load the file into a properties object |
static java.util.Properties |
getProperties(java.lang.String configFileLocation)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log log
Constructor Detail |
---|
public PropertyUtils()
Method Detail |
---|
public static java.util.Properties getClasspathProperties(java.lang.String classpathLocation)
classpathLocation
- The loation of the properties file on the
classpath as defined by Class.getResourceAsStream(String)
CsaRuntimeException
- Thrown if an IOException is detected
whilst loading the properties filepublic static java.util.Properties getProperties(java.lang.String configFileLocation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |