Interface HasAppStrings

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Map<java.lang.String,​java.lang.String> getAppStringMap()
      Get all defined Strings from an app for the default language.
      default java.util.Map<java.lang.String,​java.lang.String> getAppStringMap​(java.lang.String language)
      Get all defined Strings from an app for the specified language.
      default java.util.Map<java.lang.String,​java.lang.String> getAppStringMap​(java.lang.String language, java.lang.String stringFile)
      Get all defined Strings from an app for the specified language and strings filename.
    • Method Detail

      • getAppStringMap

        default java.util.Map<java.lang.String,​java.lang.String> getAppStringMap()
        Get all defined Strings from an app for the default language.
        Returns:
        a map with localized strings defined in the app
      • getAppStringMap

        default java.util.Map<java.lang.String,​java.lang.String> getAppStringMap​(java.lang.String language)
        Get all defined Strings from an app for the specified language.
        Parameters:
        language - strings language code
        Returns:
        a map with localized strings defined in the app
      • getAppStringMap

        default java.util.Map<java.lang.String,​java.lang.String> getAppStringMap​(java.lang.String language,
                                                                                       java.lang.String stringFile)
        Get all defined Strings from an app for the specified language and strings filename.
        Parameters:
        language - strings language code
        stringFile - strings filename
        Returns:
        a map with localized strings defined in the app