edu.cmu.andrew.icalendar.components
Class VCalendar
java.lang.Object
|
+--edu.cmu.andrew.icalendar.Component
|
+--edu.cmu.andrew.icalendar.components.VCalendar
- public class VCalendar
- extends Component
A single ICalendar object from BEGIN:VCALENDAR to END:VCALENDAR.
A VCalendar object contains a number of properties and 1 or more
components. It MUST contain "PRODID" and "VERSION" properties.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
VCalendar
public VCalendar(Map properties,
List subComponents)
throws BadComponentException
getName
public String getName()
- Description copied from class:
Component
- Return the name of this Component.
- Overrides:
getName
in class Component
checkInvariant
private void checkInvariant()
throws BadComponentException
outputICalendar
public Writer outputICalendar(Writer w)
throws IOException
- Description copied from class:
Component
- Write the iCalendar representation to w. It invokes the
output
method of each subcomponent and each
property of this object.
- Overrides:
outputICalendar
in class Component
- See Also:
Component.outputICalendar(Writer)