| Modifier and Type | Field and Description |
|---|---|
protected Properties |
props
The property set as read from a file.
|
| Constructor and Description |
|---|
RegistrySet(String name,
String path)
Creates a new RegistrySet for the input name
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String propName)
Get a property value for the given key.
|
Iterator<Map.Entry<Object,Object>> |
iterator()
Returns the iterator for the property entries.
|
static Properties |
loadProperties(String fileName,
boolean useClassLoader)
Load properties from the given file name.
|
protected Properties props
public String getProperty(String propName)
propName - the name (key) of the property.public static Properties loadProperties(String fileName, boolean useClassLoader)
fileName - the name of the property file.useClassLoader - true if the classLoader is to be used.Copyright © 2006–2018 Esito AS. All rights reserved.