|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectCalToDb
public class CalToDb
This class "converts" an existing vCalendar file (*.ics) to a LinkedList. The list is then being used to make an IclDb with the events and todos and so forth, as IclStructs.
| Constructor Summary | |
|---|---|
CalToDb(java.lang.String fileName)
Simple constructor. |
|
| Method Summary | |
|---|---|
com.sri.oaa2.icl.IclDb |
getDb()
Method for getting the IclDb that is made from an existing *.ics file. |
java.util.LinkedList |
getLines(java.io.File file)
Method for getting a LinkedList from an *.ics file. |
boolean |
isBuilt()
This method returns whether a Db could be built from a calendar file or not. |
com.sri.oaa2.icl.IclDb |
toStruct(java.util.LinkedList list)
Method for making an IclDb from a LinkedList. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalToDb(java.lang.String fileName)
fileName - the name of an *.ics file| Method Detail |
|---|
public com.sri.oaa2.icl.IclDb getDb()
public java.util.LinkedList getLines(java.io.File file)
file - the *.ics file to be handled
public com.sri.oaa2.icl.IclDb toStruct(java.util.LinkedList list)
list - the LinkedList to convert
public boolean isBuilt()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||