/** * Returns the optional method property. * @return the METHOD property, or null if property doesn't exist */ public final Method getMethod() { return getProperty(Property.METHOD); }
/** * Returns the mandatory version property. * @return the VERSION property, or null if property doesn't exist */ public final Version getVersion() { return (Version) getProperty(Property.VERSION); }
/** * Returns the mandatory version property. * @return the VERSION property, or null if property doesn't exist */ public final Version getVersion() { return (Version) getProperty(Property.VERSION); }
/** * Returns the optional calscale property. * @return the CALSCALE property, or null if property doesn't exist */ public final CalScale getCalendarScale() { return (CalScale) getProperty(Property.CALSCALE); }
/** * Returns the mandatory prodid property. * @return the PRODID property, or null if property doesn't exist */ public final ProdId getProductId() { return getProperty(Property.PRODID); }
/** * Returns the mandatory version property. * @return the VERSION property, or null if property doesn't exist */ public final Version getVersion() { return getProperty(Property.VERSION); }
/** * Returns the mandatory prodid property. * @return the PRODID property, or null if property doesn't exist */ public final ProdId getProductId() { return getProperty(Property.PRODID); }
/** * Returns the optional method property. * @return the METHOD property, or null if property doesn't exist */ public final Method getMethod() { return getProperty(Property.METHOD); }
/** * Returns the optional calscale property. * @return the CALSCALE property, or null if property doesn't exist */ public final CalScale getCalendarScale() { return getProperty(Property.CALSCALE); }
/** * Returns the mandatory prodid property. * @return the PRODID property, or null if property doesn't exist */ public final ProdId getProductId() { return (ProdId) getProperty(Property.PRODID); }
/** * Returns the optional calscale property. * @return the CALSCALE property, or null if property doesn't exist */ public final CalScale getCalendarScale() { return (CalScale) getProperty(Property.CALSCALE); }
/** * Returns the optional method property. * @return the METHOD property, or null if property doesn't exist */ public final Method getMethod() { return (Method) getProperty(Property.METHOD); }
/** * Returns the optional calscale property. * @return the CALSCALE property, or null if property doesn't exist */ public final CalScale getCalendarScale() { return getProperty(Property.CALSCALE); }
/** * Returns the optional method property. * @return the METHOD property, or null if property doesn't exist */ public final Method getMethod() { return (Method) getProperty(Property.METHOD); }
/** * Returns the optional calscale property. * @return the CALSCALE property, or null if property doesn't exist */ public final CalScale getCalendarScale() { return (CalScale) getProperty(Property.CALSCALE); }
/** * Returns the optional method property. * @return the METHOD property, or null if property doesn't exist */ public final Method getMethod() { return (Method) getProperty(Property.METHOD); }
/** * Returns the mandatory version property. * @return the VERSION property, or null if property doesn't exist */ public final Version getVersion() { return (Version) getProperty(Property.VERSION); }
/** * Returns the mandatory version property. * @return the VERSION property, or null if property doesn't exist */ public final Version getVersion() { return getProperty(Property.VERSION); }
@Override void mapToBean(net.fortuna.ical4j.model.Calendar cal, Object bean, PropertyDescriptor pd) { Method m = pd.getWriteMethod(); String tzId = getPropValue(cal.getProperty(Property.TZID)); propertyAccessor.set(bean, m, tzId); }
/** * Test method for {@link net.fortuna.ical4j.data.HCalendarParser#parse(java.io.Reader, net.fortuna.ical4j.data.ContentHandler)}. */ public void testParseReaderContentHandler() throws IOException, ParserException { Calendar icsCalendar = Calendars.load(getClass().getResource("/samples/hcalendar/example1.ics")); // remove prod-id which seems to be not handled by hcalendar.. icsCalendar.getProperties().remove(icsCalendar.getProperty(Property.PRODID)); CalendarBuilder builder = new CalendarBuilder(new HCalendarParser()); Calendar hcalCalendar = builder.build(getClass().getResourceAsStream("/samples/hcalendar/example1.html")); // assertEquals(icsCalendar, hcalCalendar); assertEquals(icsCalendar.getProperties().size(), hcalCalendar.getProperties().size()); assertEquals(icsCalendar.getComponents().size(), hcalCalendar.getComponents().size()); }