public class DummyLocalizable extends Object implements Localizable
Localizable interface, without localization.| Constructor and Description |
|---|
DummyLocalizable(String source)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalizedString(Locale locale)
Gets the localized string.
|
String |
getSourceString()
Gets the source (non-localized) string.
|
String |
toString() |
public DummyLocalizable(String source)
source - source textpublic String getSourceString()
getSourceString in interface Localizablepublic String getLocalizedString(Locale locale)
getLocalizedString in interface Localizablelocale - locale into which to get the string.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.