|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMessageConveyor
Retrieve a message by its code as specified by an enum.
The strategy in retrieving messages may vary from implementation to implementation.
Method Summary | ||
---|---|---|
|
getMessage(E e,
Object... args)
Retrieve a message by its code as specified by an enum. |
Method Detail |
---|
<E extends Enum<?>> String getMessage(E e, Object... args)
Note that any further arguments passed in 'args' will be interpolated using
the translated message. The interpolation will be done according to
conventions of MessageFormat
.
E
- an enum typeE
- e
- an enum instanceargs
- optional argumentse
- args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |