Package eu.bandm.tools.muli
Class CatalogByString
- Direct Known Subclasses:
BatchOptions.Descriptions
,CallXsltOptions.Descriptions
,DocTexts
,InsertOverprintOptions.Descriptions
,JarLinkerOptions.Descriptions
,JWhichOptions.Descriptions
,Messages
,Options.Descriptions
,Options.Descriptions
,Options.Descriptions
,Options.Descriptions
,Options.Descriptions
,Options.Descriptions
,Options.Descriptions
,ParameterExpanderOptions.Descriptions
,ToolOptions.Descriptions
,Translations
,Translations
,Translations
,Translations
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.muli.Catalog
Catalog.Const<L>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.bandm.tools.muli.Catalog
_format, _format, containsKey, dump, get, get, get, getKey, getKeys, getKeys, getSpecific, insitu, insitu, insitu, insitu, INSITU, INSITU, noTranslate, put, put, put, put, putAll, putAll, readLanguageMap, readLanguages, readLanguagesString, translateAllAndFormatRobust, translateAllAndFormatRobust, translateArgsAndFormatRobust, translateArgsAndFormatRobust, translateKeyAndFormatRobust, translateKeyAndFormatRobust, translateRobust, translateRobust
-
Constructor Details
-
CatalogByString
public CatalogByString()Only constructor
-
-
Method Details
-
getKeys
Returns all key objects in this catalog. -
putAsKey
Put translations in which the very first text is also the key. CallsCatalog.put(Object, List)
- Parameters:
pairs
- of language and value. The very first value (in the very first language) also serves as key.
-
_translateArgs
Translation of arguments must NOT be done for Strings, but only for embedded PreMessage. This is done even recursively, including formatting.- Overrides:
_translateArgs
in classCatalog<String>
- Parameters:
pref
- of languages. If list is empty, then a random result or "toString()" will be delivered.args
- the arguments for formatting the top-level translation.- Returns:
- the list of translated or untouched argments.
-