Interface Localizable

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    DummyLocalizable, LocalizedFormats

    public interface Localizable
    extends java.io.Serializable
    Interface for localizable strings.
    Since:
    2.2
    • Method Detail

      • getSourceString

        java.lang.String getSourceString()
        Get the source (non-localized) string.
        Returns:
        source string
      • getLocalizedString

        java.lang.String getLocalizedString​(java.util.Locale locale)
        Get the localized string.
        Parameters:
        locale - locale into which to get the string
        Returns:
        localized string or the source string if no localized version is available