|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ContactData.Field>
de.knipp.rritoolkit.ContactData.Field
public static enum ContactData.Field
enumeration for the different disclose fields
Enum Constant Summary | |
---|---|
Address
the address |
|
City
the city |
|
CountryCode
the country code |
|
EMail
the e-mail addresses |
|
Fax
the fax numbers |
|
Name
the name |
|
Organisation
the organisation |
|
Phone
the phone numbers |
|
PostalCode
the postal code |
|
Remarks
the remarks |
|
Sip
the SIP addresses |
|
Type
the contact type |
Field Summary | |
---|---|
private java.lang.String |
denicToken
the DENIC token |
private static java.util.Map<java.lang.String,ContactData.Field> |
tokenMap
map from the token to the type |
Method Summary | |
---|---|
static ContactData.Field |
fromToken(java.lang.String denicToken)
return the field for the given token |
java.lang.String |
getDenicToken()
return the DENIC token |
static ContactData.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ContactData.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ContactData.Field Type
public static final ContactData.Field Name
public static final ContactData.Field Organisation
public static final ContactData.Field Address
public static final ContactData.Field City
public static final ContactData.Field PostalCode
public static final ContactData.Field CountryCode
public static final ContactData.Field Phone
public static final ContactData.Field Fax
public static final ContactData.Field EMail
public static final ContactData.Field Sip
public static final ContactData.Field Remarks
Field Detail |
---|
private java.lang.String denicToken
private static final java.util.Map<java.lang.String,ContactData.Field> tokenMap
Method Detail |
---|
public static ContactData.Field[] values()
for (ContactData.Field c : ContactData.Field.values()) System.out.println(c);
public static ContactData.Field 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDenicToken()
public static ContactData.Field fromToken(java.lang.String denicToken)
denicToken
- the token
null
if the
token is not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |