Class KeyWithLocale

  • All Implemented Interfaces:
    java.io.Serializable

    public final class KeyWithLocale
    extends java.lang.Object
    implements java.io.Serializable
    A key that can be used to extract a localized property for a specified Locale
    Since:
    2.0
    See Also:
    Serialized Form
    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyWithLocale​(java.lang.String key, java.util.Locale locale)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()  
      java.util.Locale getLocale()  
      • Methods inherited from class java.lang.Object

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

      • KeyWithLocale

        public KeyWithLocale​(java.lang.String key,
                             java.util.Locale locale)
    • Method Detail

      • getKey

        public java.lang.String getKey()
      • getLocale

        public java.util.Locale getLocale()