esmska.persistence
Enum ContactParser.ContactType

java.lang.Object
  extended by java.lang.Enum<ContactParser.ContactType>
      extended by 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
DREAMCOM_SE_FILE
          File format of the DreamCom SE
ESMSKA_FILE
          Native file format for Esmska
KUBIK_DREAMCOM_FILE
          File format of the Kubík SMS DreamCom
VCARD_FILE
          vCard file format (.vcard, .vcf)
 
Method Summary
static ContactParser.ContactType valueOf(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.
 
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

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 name
java.lang.NullPointerException - if the argument is null