public class GUIProperties extends Object
| Constructor and Description |
|---|
GUIProperties()
Constructs a
GUIProperties using the default bundle name. |
GUIProperties(String guiPropertiesFileName)
Constructs a
GUIProperties from the given file. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyValue(String key,
String... params)
Retrieves the property associated with the given key as a
String. |
List<String> |
getPropertyValueAsList(String key,
String... params)
Retrieves the property associated with the given key as a
List of
Strings. |
public GUIProperties()
GUIProperties using the default bundle name.public GUIProperties(String guiPropertiesFileName)
GUIProperties from the given file.guiPropertiesFileName - the file to be loadedpublic String getPropertyValue(String key, String... params)
String.key - the key to be retrievedparams - instances of the String literal "{n}" in
the retrieved value will be replaced by params[n]MissingGUIPropertyExceptionpublic List<String> getPropertyValueAsList(String key, String... params)
List of
Strings.key - the key to be retrievedparams - instances of the String literal "{n}" in
the retrieved value will be replaced by params[n]MissingGUIPropertyExceptionCopyright © 2018. All rights reserved.