Class TranslatableString.Util
java.lang.Object
VASSAL.build.module.properties.TranslatableString.Util
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TranslatableString
findTranslatableString
(String propertyName, List<TranslatableStringContainer> propertyContainers) Look for aTranslatableString
in the list ofTranslatableStringContainer
.
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
findTranslatableString
public static TranslatableString findTranslatableString(String propertyName, List<TranslatableStringContainer> propertyContainers) Look for aTranslatableString
in the list ofTranslatableStringContainer
. Return the first one found, searching the lists in order. The list may contain null references, which are skipped- Parameters:
propertyContainers
- list of containers- Returns:
- first property found
-