|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.war.util.PropertyUtils
public final class PropertyUtils
Method Summary | |
---|---|
static java.util.Properties |
loadPropertyFile(java.io.File propfile,
boolean fail,
boolean useSystemProps)
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, boolean fail, boolean useSystemProps) throws java.io.IOException
propfile
- The property file to loadfail
- wheter to throw an exception when the file cannot be loaded or to return nulluseSystemProps
- wheter to incorporate System.getProperties settings into the returned Properties object.
java.io.IOException
- if an error failed while loading the properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |