Oracle Application Server Wireless Java API Reference
B10400-01

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

Field Summary
static java.lang.String BEGINVCAL
           
static java.lang.String CRLF
           
static int DEST_PORT
           
static java.lang.String ENDVCAL
           
static java.lang.String EVENT
           
static java.lang.String MIME
           
static int ORG_PORT
           
static java.lang.String PHONE_MODEL
           
static java.lang.String TODO
           
static java.lang.String VERSION
           

 

Constructor Summary
VCalendar()
          constructor : sets the version of the vCalendar to 1.0

 

Method Summary
 void setEvent(EventTodoProperties prop)
          Attaches an EventTodoproperties object with the vCalendar as an EVENT entity.
 void setPhoneModel(java.lang.String model)
          Sets the phone model Eg: "Nokia 9290"
 void setTodo(EventTodoProperties prop)
          Attaches an EventTodoproperties object with the vCalendar as an TODO entity.

 

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

 

Field Detail

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
Constructor Detail

VCalendar

public VCalendar()
constructor : sets the version of the vCalendar to 1.0
Method Detail

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

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.