public class PropertyUtils
extends java.lang.Object
Constructor and Description |
---|
PropertyUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Properties |
loadPropertiesFile(java.lang.String propertyFilePath,
java.lang.Class<?> clazz)
Attempt to load a Properties object from an on-disk properties file.
|
public static java.util.Properties loadPropertiesFile(java.lang.String propertyFilePath, java.lang.Class<?> clazz)
propertyFilePath
- name of the properties file to load. Must have a .properties extensionclazz
- class used to obtain a class loader to use to locate the properties file