public class PropertiesDiscovery
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map |
loadProperties(java.lang.String resourceName,
java.lang.ClassLoader classLoader)
Returns a map containing the contents of all property files with
the specified resource name.
|
public static java.util.Map loadProperties(java.lang.String resourceName,
java.lang.ClassLoader classLoader)
throws java.io.IOException
resourceName - the name of the properties file(s) to loadresourceNamejava.io.IOException