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