public class TextProperties
extends Properties
Global.strs(java.lang.String),
Serialized Form| Constructor 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, stringPropertyNamesclear, 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, valuespublic 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 Propertieskey - Logical name of the stringkey just to be nice.private void setupEN()