org.apache.maven.plugin.resources
public final class PropertyUtils extends Object
Version: $Id: PropertyUtils.java 191749 2005-06-22 01:21:07Z brett $
Method Summary | |
---|---|
static Properties | loadPropertyFile(File propfile, boolean fail, boolean useSystemProps)
Reads a property file, resolving all internal variables.
|
Parameters: propfile The property file to load fail wheter to throw an exception when the file cannot be loaded or to return null useSystemProps wheter to incorporate System.getProperties settings into the returned Properties object.
Returns: the loaded and fully resolved Properties object