public enum MessageUtil extends Enum<MessageUtil>
Enum Constant and Description |
---|
INSTANCE
The instance.
|
Modifier and Type | Method and Description |
---|---|
static String |
formatMessage(javax.faces.context.FacesContext ctx,
String key,
Object... args)
Formats a message.
|
static MessageUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageUtil INSTANCE
public static MessageUtil[] values()
for (MessageUtil c : MessageUtil.values()) System.out.println(c);
public static MessageUtil valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2014 Lunar Ray. All rights reserved.