Documentation of 'de.erichseifert.gral.util.Messages' Java class
Messages
de.erichseifert.gral.util

Class Messages



  • public abstract class Messages
    extends java.lang.Object
    Singleton class that globally provides translated message texts.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getString(java.lang.String key)
      Returns a message text that is determined by the specified key.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getString

        public static java.lang.String getString(java.lang.String key)
        Returns a message text that is determined by the specified key. A replacement text generated from the key is returned if the message cannot be found.
        Parameters:
        key - Key string that identifies the message
        Returns:
        Translated message text, or default key if the message cannot be found.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.