public final class LocalizedText extends Object
| Modifier and Type | Field and Description |
|---|---|
static LocalizedText |
NULL_VALUE |
| Constructor and Description |
|---|
LocalizedText(@Nullable String text)
Create a
LocalizedText in English locale. |
LocalizedText(@Nullable String locale,
@Nullable String text) |
| Modifier and Type | Method and Description |
|---|---|
static LocalizedText |
english(@Nullable String text) |
boolean |
equals(Object o) |
@Nullable String |
getLocale() |
@Nullable String |
getText() |
int |
hashCode() |
String |
toString() |
public static final LocalizedText NULL_VALUE
public LocalizedText(@Nullable
@Nullable String text)
LocalizedText in English locale.text - the text in English locale.@Nullable public @Nullable String getLocale()
@Nullable public @Nullable String getText()
public static LocalizedText english(@Nullable @Nullable String text)
Copyright © 2025. All rights reserved.