public class TextProperties
extends Properties
Global.strs(java.lang.String)
,
Serialized FormConstructor and Description |
---|
TextProperties(String language)
Set up the properties for charger's natural language strings.
|
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String key)
Overrides superclass's method so that we can flash a dialog if a string
lookup fails.
|
private void |
setupEN() |
getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public TextProperties(String language)
language
- an ISO abbreviation for the language desired. So far,
only "en" is supported. Volunteers are welcome for other languages.public String getProperty(String key)
getProperty
in class Properties
key
- Logical name of the stringkey
just to be nice.private void setupEN()