|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.exception.util.DummyLocalizable
public class DummyLocalizable
Dummy implementation of the Localizable
interface, without localization.
Constructor Summary | |
---|---|
DummyLocalizable(String source)
Simple constructor. |
Method Summary | |
---|---|
String |
getLocalizedString(Locale locale)
Gets the localized string. |
String |
getSourceString()
Gets the source (non-localized) string. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DummyLocalizable(String source)
source
- source textMethod Detail |
---|
public String getSourceString()
getSourceString
in interface Localizable
public String getLocalizedString(Locale locale)
getLocalizedString
in interface Localizable
locale
- locale into which to get the string.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |