oracle.panama.messaging.common
Class VCalendar
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--oracle.panama.messaging.common.VCalendar
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class VCalendar
- extends java.util.Hashtable
This class can be used to create a vCalendar which can be send as SmartMessage(Supported by Nokia phones only). Eg of a vCalendar: BEGIN:VCALENDAR VERSION:1.0 BEGIN:VEVENT DESCRIPTION:call for a meeting DTSTART:20020731T160000 DTEND:20020731T163000 END:VEVENT END:VCALENDAR
- Author:
- vbarmola
- See Also:
- Serialized Form
Constructor Summary |
VCalendar()
constructor : sets the version of the vCalendar to 1.0 |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MIME
public static final java.lang.String MIME
-
- See Also:
- Constant Field Values
PHONE_MODEL
public static final java.lang.String PHONE_MODEL
-
- See Also:
- Constant Field Values
DEST_PORT
public static final int DEST_PORT
-
- See Also:
- Constant Field Values
ORG_PORT
public static final int ORG_PORT
-
- See Also:
- Constant Field Values
CRLF
public static final java.lang.String CRLF
-
- See Also:
- Constant Field Values
BEGINVCAL
public static final java.lang.String BEGINVCAL
-
- See Also:
- Constant Field Values
ENDVCAL
public static final java.lang.String ENDVCAL
-
- See Also:
- Constant Field Values
VERSION
public static final java.lang.String VERSION
-
- See Also:
- Constant Field Values
EVENT
public static final java.lang.String EVENT
-
- See Also:
- Constant Field Values
TODO
public static final java.lang.String TODO
-
- See Also:
- Constant Field Values
VCalendar
public VCalendar()
- constructor : sets the version of the vCalendar to 1.0
setPhoneModel
public void setPhoneModel(java.lang.String model)
- Sets the phone model Eg: "Nokia 9290"
setEvent
public void setEvent(EventTodoProperties prop)
- Attaches an EventTodoproperties object with the vCalendar as an EVENT entity. Multiple EVENT entities can be attached with a vCalendar by calling this method multiple times with different EventTodoProperties object.
setTodo
public void setTodo(EventTodoProperties prop)
- Attaches an EventTodoproperties object with the vCalendar as an TODO entity. Multiple TODO entities can be attached with a vCalendar by calling this method multiple times with different EventTodoProperties object
Copyright © 2003 Oracle Corporation. All Rights Reserved.