Module marid.util

Class L10n

java.lang.Object
org.marid.l10n.L10n

public class L10n
extends Object
Author:
Dmitry Ovchinnikov
  • Constructor Details

    • L10n

      public L10n()
  • Method Details

    • s

      public static String s​(@NotNull @PropertyKey(resourceBundle="res.strings") @NotNull String key, Object... ps)
    • s

      public static String s​(@NotNull @NotNull Locale locale, @NotNull @PropertyKey(resourceBundle="res.strings") @NotNull String key, Object... ps)
    • s

      public static void s​(@NotNull @NotNull Locale locale, @NotNull @PropertyKey(resourceBundle="res.strings") @NotNull String key, @NotNull @NotNull Formatter formatter, Object... ps)
    • m

      public static String m​(@NotNull @PropertyKey(resourceBundle="res.messages") @NotNull String k, Object... v)
    • m

      public static String m​(@NotNull @NotNull Locale locale, @NotNull @PropertyKey(resourceBundle="res.messages") @NotNull String k, Object... v)
    • m

      public static void m​(@NotNull @NotNull Locale locale, @NotNull @PropertyKey(resourceBundle="res.messages") @NotNull String k, @NotNull @NotNull StringBuffer buffer, Object... v)
    • getMessagesBundle

      public static ResourceBundle getMessagesBundle​(@NotNull @NotNull Locale locale)
    • getStringsBundle

      public static ResourceBundle getStringsBundle​(@NotNull @NotNull Locale locale)