Class InternationalizedMessage
- java.lang.Object
-
- com.broadleafcommerce.metadata.i18n.InternationalizedMessage
-
- All Implemented Interfaces:
Serializable
,Comparable<InternationalizedMessage>
public final class InternationalizedMessage extends Object implements Serializable, Comparable<InternationalizedMessage>
Reperesents a String designed to be serialized as I18n text and looked up via a message bundle- Author:
- Phillip Verheyden (phillipuniverse)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InternationalizedMessage(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(InternationalizedMessage o)
boolean
equals(Object o)
String
getMessage()
The key into a message bundle.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
InternationalizedMessage
public InternationalizedMessage(String message)
-
-
Method Detail
-
compareTo
public int compareTo(InternationalizedMessage o)
- Specified by:
compareTo
in interfaceComparable<InternationalizedMessage>
-
getMessage
public String getMessage()
The key into a message bundle. If the message is not found, the serialized string is this key
-
-