|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The class implemting this interface will be used by the Caltella Client. It is designed as a layer of abstraction for access to any kind of Calendar file, to import and export Events.
Method Summary | |
void |
constructCalendar(ArrayList events,
File path)
Takes an ArrayList of Strings representing those events and exports (constructs) a file to be stored at the given path. |
String |
constructEvent(Date start,
Date end,
String summary,
String[] Attendee)
|
ArrayList |
extractCalendar(File path)
Takes a file and imports (extracts) all events and return a ArrayList of Strings representing those events |
String |
extractEvent(String vEvent)
|
Method Detail |
public ArrayList extractCalendar(File path)
path
- Defines where the file is
startDate:::endDate:::summary:::attendee1,attendee2
Mon Feb 09 00:11:30 CET 2004:::Mon Feb 09 00:11:30 CET 2004:::Badminton spielen:::Alex,Karo,Peter
File
,
ArrayList
,
extractEvent(java.lang.String)
public void constructCalendar(ArrayList events, File path)
path
- Defines where the file will be storedFile
,
ArrayList
,
constructEvent(java.util.Date, java.util.Date, java.lang.String, java.lang.String[])
public String extractEvent(String vEvent)
public String constructEvent(Date start, Date end, String summary, String[] Attendee)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |