public static enum ContactDetail.Category extends java.lang.Enum<ContactDetail.Category>
Enum Constant and Description |
---|
Address
The standard/well-known category of a ContactDetail
representing a postal address.
|
Email
The standard/well-known category of a ContactDetail
representing an e-mail address.
|
InstantMessaging
The standard/well-known category of a ContactDetail
representing a contact address for instant messaging.
|
Organization
The standard/well-known category of a ContactDetail
representing organization details, like organization name and job
title.
|
Personal
The standard/well-known category of a ContactDetail
representing personal details, like name, last name, nickname.
|
Phone
The standard/well-known category of a ContactDetail
representing a phone number.
|
Web
The standard/well-known category of a ContactDetail
representing personal details, like web address.
|
Modifier and Type | Method and Description |
---|---|
static ContactDetail.Category |
fromString(java.lang.String value)
Creates enum from its value.
|
java.lang.String |
value()
Gets the value.
|
static ContactDetail.Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContactDetail.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactDetail.Category Personal
public static final ContactDetail.Category Web
public static final ContactDetail.Category Organization
public static final ContactDetail.Category Email
public static final ContactDetail.Category InstantMessaging
public static final ContactDetail.Category Phone
public static final ContactDetail.Category Address
public static ContactDetail.Category[] values()
for (ContactDetail.Category c : ContactDetail.Category.values()) System.out.println(c);
public static ContactDetail.Category valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static ContactDetail.Category fromString(java.lang.String value)
value
- the enum's value.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.