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
String s. |
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]
MissingGUIPropertyException
public List<String> getPropertyValueAsList(String key, String... params)
List
of
String
s.key
- the key to be retrievedparams
- instances of the String
literal "{n}"
in
the retrieved value will be replaced by params[n]
MissingGUIPropertyException
Copyright © 2018. All rights reserved.