org.apache.commons.math3.exception.util

## Interface Localizable

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    DummyLocalizable, LocalizedFormats

      public interface Localizable
      extends Serializable

  Interface for localizable strings.
  Since:
    2.2
  Version:
    $Id: Localizable.java 1244107 2012-02-14 16:17:55Z erans $

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getLocalizedString(Locale locale)` Gets the localized string.
    `String` | `getSourceString()` Gets the source (non-localized) string.

- - ### Method Detail

    - #### getSourceString

          String getSourceString()

      Gets the source (non-localized) string.
      Returns:
        the source string.

    - #### getLocalizedString

          String getLocalizedString(Locale locale)

      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.

Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.