public class ResourceUtils extends Object
| Constructor and Description |
|---|
ResourceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
loadProperties(Class<?> cls,
String name)
Loads a collection of
Properties from a resource file. |
public static Properties loadProperties(Class<?> cls, String name) throws IOException
Properties from a resource file.cls - The class (used by the ClassLoader)name - The resource file nameIOExceptionCopyright © 2012. All Rights Reserved.