|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object DbToCal
public class DbToCal
Adds an events/todos to a Calendar. Then writing a text representation of a Calendar object to a file.
Constructor Summary | |
---|---|
DbToCal(java.lang.String file,
com.sri.oaa2.icl.IclList list,
net.fortuna.ical4j.model.Calendar cal)
The time format, where 15 == 3pm, should be: yyyymmddThh or yyyymmddThhmm or yyyymmddThhmmss For example: 20040825T1404 NOT : 2004-08-25:14-4 NOT : 20040825 |
Method Summary | |
---|---|
void |
add(java.lang.String choice,
java.lang.String startTime,
java.lang.String stopTime,
java.lang.String summary)
Method that adds a new entry to the Calendar. |
void |
makeCalendar()
When the calendar is complete, this method is called to save it to a file. |
void |
setCalendar(com.sri.oaa2.icl.IclList list)
Takes an IclList as argument, adding events and todos to the Calendar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbToCal(java.lang.String file, com.sri.oaa2.icl.IclList list, net.fortuna.ical4j.model.Calendar cal)
file
- the file name to save the calendar to (*.ics)list
- IclList with all the entries in the databasecal
- the Calendar to add information toMethod Detail |
---|
public void setCalendar(com.sri.oaa2.icl.IclList list) throws java.lang.Exception
list
- the IclList with database entries
java.lang.Exception
public void makeCalendar()
public void add(java.lang.String choice, java.lang.String startTime, java.lang.String stopTime, java.lang.String summary)
choice
- whether it is an event, todo or alarmstartTime
- the time the entry should beginstopTime
- the time the entry should endsummary
- the text associated with the entry
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |