org.apache.commons.math.exception.util
public class DummyLocalizable extends Object implements Localizable
Localizable
interface, without localization.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Serializable version identifier.
|
private String |
source
Source string.
|
Constructor and Description |
---|
DummyLocalizable(String source)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedString(Locale locale)
Get the localized string.
|
String |
getSourceString()
Get the source (non-localized) string.
|
String |
toString() |
private static final long serialVersionUID
private final String source
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 stringCopyright (c) 2003-2013 Apache Software Foundation