Gets the value of the Event.CLASS field for the given
value of the vEvent CLASS property.
This method encapsulates the following mapping:
Event.CLASS_PUBLIC <- "PUBLIC"
Event.CLASS_PRIVATE <- "PRIVATE"
Event.CLASS_CONFIDENTIAL <- "CONFIDENTIAL"
Parameters: s - the value of the CLASS property the corresponding field of Event, or -1 if s is not recognized
getClassType
public static String getClassType(int fieldValue)(Code)
Gets the value of the vEvent CLASS field for the given
value of the Event.CLASS field.
This method encapsulates the following mapping:
Event.CLASS_PUBLIC -> "PUBLIC"
Event.CLASS_PRIVATE -> "PRIVATE"
Event.CLASS_CONFIDENTIAL -> "CONFIDENTIAL"
Parameters: fieldValue - the value of the Event.CLASS field a string describing the class for the field value, or null iffieldValue is out of range
getFieldCode
public static int getFieldCode(String fieldName)(Code)
Converts vCalendar property name to JSR75 field code.
Parameters: fieldName - label of requested field identifier for requested field
getFieldLabel
public static String getFieldLabel(int field)(Code)
Converts JSR75 field code to vCalendar property name.
Parameters: field - identifier for field name label for requested field