Top Description Methods
org.apache.commons.math3.exception.util

public Interface Localizable

extends Serializable
Known Direct Implementers
org.apache.commons.math3.exception.util.LocalizedFormats, org.apache.commons.math3.exception.util.DummyLocalizable
Imports
java.io.Serializable, java.util.Locale

Interface for localizable strings.
Since
2.2

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the localized string or the source string if no localized version is available.
getLocalizedString
(Locale
locale into which to get the string.
locale
)

Gets the localized string.

public String

Returns:

the source string.
getSourceString
()

Gets the source (non-localized) string.

Method Detail

getLocalizedStringback to summary
public String getLocalizedString(Locale locale)

Gets the localized string.

Parameters
locale:Locale

locale into which to get the string.

Returns:String

the localized string or the source string if no localized version is available.

getSourceStringback to summary
public String getSourceString()

Gets the source (non-localized) string.

Returns:String

the source string.