BestSolution.at public p2 repository
CompositeTranslationFunction
at.bestsolution.framework.grid.func

Class CompositeTranslationFunction

  • java.lang.Object
    • at.bestsolution.framework.grid.func.CompositeTranslationFunction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String translate(@NonNull java.util.Locale locale, @NonNull java.lang.String key)
      Translate the given key in to the locale
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompositeTranslationFunction

        public CompositeTranslationFunction(TranslationFunction... functions)
        Parameters:
        functions - translation functions
    • Method Detail

      • translate

        public java.lang.String translate(@NonNull java.util.Locale locale,
                                          @NonNull java.lang.String key)
        Description copied from interface: TranslationFunction
        Translate the given key in to the locale
        Specified by:
        translate in interface TranslationFunction
        Parameters:
        locale - the locale
        key - the key
        Returns:
        the translated string