@Immutable @MustImplementEqualsAndHashcode public class ConstantHasTextWithArgs extends AbstractHasText implements IHasTextWithArgs
IHasTextWithArgs interface that always
returns a constant string. Use this only for texts that never need to be
translated!| Constructor and Description |
|---|
ConstantHasTextWithArgs(String sFixedText) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
protected String |
internalGetText(Locale aContentLocale)
Main text resolving.
|
String |
toString() |
getText, internalGetLocaleToUseWithFallbackclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAsHasDisplayTextWithArgs, getTextWithArgs, getTextWithArgsgetAsHasDisplayText, getComparatorCollating, getText@Nullable protected String internalGetText(@Nonnull Locale aContentLocale)
AbstractHasTextinternalGetText in class AbstractHasTextaContentLocale - Locale to use. This is the locale resolved internally. Never
null.null if no such text present in the passed localeCopyright © 2014–2017 Philip Helger. All rights reserved.