Class DummyLocalizable

    • Constructor Detail

      • DummyLocalizable

        public DummyLocalizable​(String source)
        Simple constructor.
        Parameters:
        source - source text
    • Method Detail

      • getSourceString

        public String getSourceString()
        Get the source (non-localized) string.
        Specified by:
        getSourceString in interface Localizable
        Returns:
        source string
      • getLocalizedString

        public String getLocalizedString​(Locale locale)
        Get the localized string.
        Specified by:
        getLocalizedString in interface Localizable
        Parameters:
        locale - locale into which to get the string
        Returns:
        localized string or the source string if no localized version is available