Package org.hipparchus.exception
Interface Localizable
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DummyLocalizable
,LocalizedClusteringFormats
,LocalizedCoreFormats
,LocalizedFFTFormats
,LocalizedFormats
,LocalizedGeometryFormats
,LocalizedMigrationFormats
,LocalizedODEFormats
,LocalizedOptimFormats
,LocalizedStatFormats
Interface for localizable strings.
-
Method Summary
Modifier and TypeMethodDescriptiongetLocalizedString
(Locale locale) Gets the localized string.Gets the source (non-localized) string.
-
Method Details
-
getSourceString
String getSourceString()Gets the source (non-localized) string.- Returns:
- the source string.
-
getLocalizedString
Gets the localized string.- Parameters:
locale
- locale into which to get the string.- Returns:
- the localized string or the source string if no localized version is available.
-