net.sourceforge.cobertura.util
Class ConfigurationUtil
public
class
ConfigurationUtil
extends Object
A Utility Class to load the configuration.
Checks for values using the following hierarchy.
1) System Property matching key.
2) cobertura.properties Resource Property matching key.
3) hardcoded default value
Author: Joakim Erdfelt
private Properties props
public static final String RESOURCE
public ConfigurationUtil()
private void DEBUG(String msg)
Poor mans debugging.
Intentionally didn't use log4j, as we dont want to introduce that dependency on instrumented files.
public String getDatafile()
public String getProperty(String key, String defvalue)
public void init()