org.jSyncManager.API.Conduit.Tools.vTypes
Class iCalendar
- Serializable
vCalendar specification implementation for the DateBookRecord API class.
ARCHIVED, BUSY, DATA_INCLUDED, DELETED, DELETE_ALL_IN_CATEGORY, DELETE_ALL_RECORDS, DIRTY, SECRET, SORT_DATABASE, attributes, category, data, index, inputData, recordID, recordSize |
iCalendar()- Creates a new default instance of vCard
|
iCalendar(InputStream stream)- Creates a new instance of iCalendar using the input from the provided stream.
|
iCalendar(Reader reader)- Creates a new instance of iCalendar using the input from the provided stream.
|
iCalendar(vFoldedFile file)- Creates a new instance of vCard using input from a vFoldedFile instance.
|
iCalendar(DateBookRecord rec)- Create new JSXMLDocument with given DateBookRecord.
|
checkMandatory, checkMandatoryEntry, checkSingleEntry, format, generateData, getGroup, getName, getProperties, getResources, getVObjectClass, importRecord, isSingleInstance, isStarted, parse, parseName, setGroup, setName, setProperties, setResources, setStarted, toString |
addAttribute, checkAttribute, clearAttribute, generateData, getAttributes, getCategory, getData, getIndex, getRecordID, getRecordSize, parseFields, setAttributes, setCategory, setData, setIndex, setRecordID, setRecordSize, toString |
RECORDNAME
public static String RECORDNAME
iCalendar
public iCalendar()
Creates a new default instance of vCard
iCalendar
public iCalendar(InputStream stream)
throws vParseException,
IOExceptionCreates a new instance of iCalendar using the input from the provided stream.
stream - the InputStream to use for input.
iCalendar
public iCalendar(Reader reader)
throws vParseException,
IOExceptionCreates a new instance of iCalendar using the input from the provided stream.
reader - the Reader to use for input.
iCalendar
public iCalendar(vFoldedFile file)
throws vParseException Creates a new instance of vCard using input from a vFoldedFile instance.
file - vFoldedFile from which the parser gets each line.
getProperty
public vProperty getProperty(String key)
Getter for property properties.
key - String key checked against resource list of type names for vCard
- vProperty value of property.
getRecord
public DateBookRecord getRecord()
Getter for property record.
- Value of property record.
importRecord
public void importRecord(DateBookRecord rec)
Setter for property record.
rec - New value of property record.
main
public static void main(argv[] )
Main test method
parse
protected vObject parse(String line)
throws java.text.ParseException,
java.io.IOException
setProperties
public void setProperties(vPropertyList properties)
Setter for property properties.
- setProperties in interface vObject
properties - New value of property properties.