local.tomas.vcard
Enum VType

java.lang.Object
  extended by java.lang.Enum<VType>
      extended by local.tomas.vcard.VType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VType>

public enum VType
extends java.lang.Enum<VType>


Enum Constant Summary
CALENDAR
           
CONTACT
           
EVENT
           
NOTE
           
TASK
           
 
Method Summary
static VType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VType[] 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

CONTACT

public static final VType CONTACT

CALENDAR

public static final VType CALENDAR

EVENT

public static final VType EVENT

TASK

public static final VType TASK

NOTE

public static final VType NOTE
Method Detail

values

public static VType[] 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 (VType c : VType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VType 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


Copyright © 2007 null. All Rights Reserved.