Package com.persequor.extension.frontend
Interface IString
public interface IString
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetText()
default String
getType()
static IString.IStringList
toI18nTextList
(Collection<String> input) static IString.IStringList
toTextList
(Collection<String> input)
-
Method Details
-
getText
- Returns:
- the original base text without any translation or token replacement
-
getTokens
- Returns:
- the tokens. Either
List<String>
orList<IString>
-
getType
- Returns:
- whether this IString is translatable or not
-
toTextList
-
toI18nTextList
-
getTextWithTokens
- Returns:
- the text with tokens replaced, but without any translation
-