Build 1.0_r1(from source)

android.syncml.pim.vcalendar
Class VCalComposer

java.lang.Object
  extended by android.syncml.pim.vcalendar.VCalComposer

public class VCalComposer
extends Object

vCalendar string composer class


Field Summary
static int VERSION_VCAL10_INT
           
static int VERSION_VCAL20_INT
           
static String VERSION_VCALENDAR10
           
static String VERSION_VCALENDAR20
           
 
Constructor Summary
VCalComposer()
           
 
Method Summary
 String createVCal(CalendarStruct struct, int vcalversion)
          Create a vCalendar String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_VCALENDAR10

public static final String VERSION_VCALENDAR10
See Also:
Constant Field Values

VERSION_VCALENDAR20

public static final String VERSION_VCALENDAR20
See Also:
Constant Field Values

VERSION_VCAL10_INT

public static final int VERSION_VCAL10_INT
See Also:
Constant Field Values

VERSION_VCAL20_INT

public static final int VERSION_VCAL20_INT
See Also:
Constant Field Values
Constructor Detail

VCalComposer

public VCalComposer()
Method Detail

createVCal

public String createVCal(CalendarStruct struct,
                         int vcalversion)
                  throws VCalException
Create a vCalendar String.

Parameters:
struct - see more from CalendarStruct class
vcalversion - MUST be VERSION_VCAL10 /VERSION_VCAL20
Returns:
vCalendar string
Throws:
VcalException - if version is invalid or create failed
VCalException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature