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 Localizable
public String getLocalizedString(Locale locale)
getLocalizedString
in interface Localizable
locale
- locale into which to get the string.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.