public final class PropertyUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Properties |
loadPropertyFile(File propfile,
boolean fail,
boolean useSystemProps)
Reads a property file, resolving all internal variables.
|
public static Properties loadPropertyFile(File propfile, boolean fail, boolean useSystemProps) throws IOException
propfile - The property file to loadfail - whether to throw an exception when the file cannot be loaded or to return nulluseSystemProps - whether to incorporate System.getProperties settings into the returned Properties object.IOExceptionCopyright © 2004-2016. All Rights Reserved.