|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.maven.shared.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 java.lang.String |
getInterpolatedPropertyValue(java.lang.String key,
java.util.Properties props)
Retrieves a property value, replacing values like ${token} using the Properties to look them up. |
static java.util.Properties |
loadPropertyFile(java.io.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 java.util.Properties loadPropertyFile(java.io.File propfile)
propfile - The property file to load
public static java.lang.String getInterpolatedPropertyValue(java.lang.String key,
java.util.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 | |||||||||