public static enum MsgMethod.Method extends Enum<MsgMethod.Method>
| Modifier and Type | Field and Description |
|---|---|
private String |
niceName |
private String |
uri |
| Modifier and Type | Method and Description |
|---|---|
static MsgMethod.Method |
getMethodForUri(String uri) |
String |
niceName() |
String |
uri() |
static MsgMethod.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MsgMethod.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsgMethod.Method VOICE
public static final MsgMethod.Method FAX
public static final MsgMethod.Method EMAIL
public static final MsgMethod.Method PAGER
public static final MsgMethod.Method IM
public static final MsgMethod.Method WEB
public static MsgMethod.Method[] values()
for (MsgMethod.Method c : MsgMethod.Method.values()) System.out.println(c);
public static MsgMethod.Method 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 nullpublic String uri()
public String niceName()
public static MsgMethod.Method getMethodForUri(String uri)
Copyright © 1999–2015. All rights reserved.