Package esmska.persistence
Enum ContactParser.ContactType
- java.lang.Object
-
- java.lang.Enum<ContactParser.ContactType>
-
- esmska.persistence.ContactParser.ContactType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ContactParser.ContactType>
- Enclosing class:
- ContactParser
public static enum ContactParser.ContactType extends java.lang.Enum<ContactParser.ContactType>
Types of parseable file formats
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DREAMCOM_SE_FILEFile format of the DreamCom SEESMSKA_FILENative file format for EsmskaKUBIK_DREAMCOM_FILEFile format of the Kubík SMS DreamComVCARD_FILEvCard file format (.vcard, .vcf)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContactParser.ContactTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ContactParser.ContactType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ESMSKA_FILE
public static final ContactParser.ContactType ESMSKA_FILE
Native file format for Esmska
-
KUBIK_DREAMCOM_FILE
public static final ContactParser.ContactType KUBIK_DREAMCOM_FILE
File format of the Kubík SMS DreamCom
-
DREAMCOM_SE_FILE
public static final ContactParser.ContactType DREAMCOM_SE_FILE
File format of the DreamCom SE
-
VCARD_FILE
public static final ContactParser.ContactType VCARD_FILE
vCard file format (.vcard, .vcf)
-
-
Method Detail
-
values
public static ContactParser.ContactType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContactParser.ContactType c : ContactParser.ContactType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContactParser.ContactType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-