public class I18nMessage extends java.lang.Object implements Message
Constructor and Description |
---|
I18nMessage(I18nParam category,
java.lang.String message,
java.lang.Object... parameters) |
I18nMessage(java.lang.String category,
java.lang.String message,
java.lang.Object... parameters) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory() |
java.lang.String |
getMessage() |
boolean |
hasBundle() |
void |
setBundle(java.util.ResourceBundle bundle) |
void |
setLazyBundle(com.google.common.base.Supplier<java.util.ResourceBundle> bundle) |
java.lang.String |
toString() |
public I18nMessage(I18nParam category, java.lang.String message, java.lang.Object... parameters)
public I18nMessage(java.lang.String category, java.lang.String message, java.lang.Object... parameters)
public void setBundle(java.util.ResourceBundle bundle)
public void setLazyBundle(com.google.common.base.Supplier<java.util.ResourceBundle> bundle)
public boolean hasBundle()
public java.lang.String getMessage()
getMessage
in interface Message
public java.lang.String getCategory()
getCategory
in interface Message
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 Caelum. All Rights Reserved.