Class PluginMessages


  • public final class PluginMessages
    extends Object
    Simple utility for messages. Usage: [...] private static final PluginMessages MESSAGES = PluginMessages.getMessages([class]). [...] MESSAGES.getString([key])
    Author:
    Thomas Hoedl(asc042)
    • Method Detail

      • getPackageName

        public String getPackageName()
        Returns:
        the packageName
      • getString

        public String getString​(String key)
        Parameters:
        key - the key.
        Returns:
        the message.
      • getString

        public String getString​(String key,
                                String param1)
        Parameters:
        key - the key.
        param1 - the param1.
        Returns:
        the message.
      • getString

        public String getString​(String key,
                                String param1,
                                String param2)
        Parameters:
        key - the key.
        param1 - the param1.
        param2 - the param2.
        Returns:
        the message.
      • getString

        public String getString​(String key,
                                String param1,
                                String param2,
                                String param3)
        Parameters:
        key - the key.
        param1 - the param1.
        param2 - the param2.
        param3 - the param3.
        Returns:
        the message.
      • getString

        public String getString​(String key,
                                String param1,
                                String param2,
                                String param3,
                                String param4)
        Parameters:
        key - the key.
        param1 - the param1.
        param2 - the param2.
        param3 - the param3.
        param4 - the param4.
        Returns:
        the message.
      • getString

        public String getString​(String key,
                                String param1,
                                String param2,
                                String param3,
                                String param4,
                                String param5)
        Parameters:
        key - the key.
        param1 - the param1.
        param2 - the param2.
        param3 - the param3.
        param4 - the param4.
        param5 - the param5.
        Returns:
        the message.
      • getString

        public String getString​(String key,
                                String param1,
                                String param2,
                                String param3,
                                String param4,
                                String param5,
                                String param6)
        Parameters:
        key - the key.
        param1 - the param1.
        param2 - the param2.
        param3 - the param3.
        param4 - the param4.
        param5 - the param5.
        param6 - the param6.
        Returns:
        the message.