|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MessageCodeResolver
The interface which defines how a message code can be resolved.
| Method Summary | |
|---|---|
java.lang.String |
resolveMessage(java.lang.String code,
java.util.Locale locale,
java.lang.Object... params)
Resolves given property code in given locale and formats it with optional parameters. |
java.lang.String |
resolveMessage(java.lang.String code,
java.lang.Object... params)
Resolves given property code and formats it with optional parameters (as locale uses the default locale, if you want to specify the locale use the other method. |
| Method Detail |
|---|
java.lang.String resolveMessage(java.lang.String code,
java.lang.Object... params)
throws JavalidException
code - The code to resolveparams - The optional parameters to format the message with
JavalidException - Raised when code could not be resolved
java.lang.String resolveMessage(java.lang.String code,
java.util.Locale locale,
java.lang.Object... params)
throws JavalidException
code - The code to resolvelocale - The locale to useparams - The optional parameters to format the message with
JavalidException - Raised when code could not be resolved
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||