|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.maven.util.properties.PropertiesHelper
public class PropertiesHelper
Utilities for dealing with @{link Properties} objects.
Taken from maven-war-plugin, which apparently took it from maven-resources-plugin... ;)
Method Summary | |
---|---|
static String |
getInterpolatedPropertyValue(String key,
Properties props)
Retrieves a property value, replacing values like ${token} using the Properties to look them up. |
static Properties |
loadPropertyFile(File propfile)
Reads a property file, resolving all internal variables. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Properties loadPropertyFile(File propfile)
propfile
- The property file to load
public static String getInterpolatedPropertyValue(String key, Properties props)
key
- The key for which to find the corresponding valueprops
- The properties from which to find the value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |