/** * Build an iCalendar model by parsing data from the specified reader. * * @param uin an unfolding reader to read data from * @return a calendar parsed from the specified reader * @throws IOException where an error occurs reading data from the specified reader * @throws ParserException where an error occurs parsing data from the reader */ public Calendar build(final UnfoldingReader uin) throws IOException, ParserException { parser.parse(uin, contentHandler); return calendar; }
/** * Build an iCalendar model by parsing data from the specified reader. * * @param uin an unfolding reader to read data from * @return a calendar parsed from the specified reader * @throws IOException where an error occurs reading data from the specified reader * @throws ParserException where an error occurs parsing data from the reader */ public Calendar build(final UnfoldingReader uin) throws IOException, ParserException { parser.parse(uin, contentHandler); return calendar; }
/** * Build an iCalendar model by parsing data from the specified reader. * * @param uin an unfolding reader to read data from * @return a calendar parsed from the specified reader * @throws IOException where an error occurs reading data from the specified reader * @throws ParserException where an error occurs parsing data from the reader */ public Calendar build(final UnfoldingReader uin) throws IOException, ParserException { // re-initialise.. calendar = null; components.clear(); property = null; datesMissingTimezones = new ArrayList<Property>(); parser.parse(uin, contentHandler); if (datesMissingTimezones.size() > 0 && tzRegistry != null) { resolveTimezones(); } return calendar; }
/** * Build an iCalendar model by parsing data from the specified reader. * * @param uin an unfolding reader to read data from * @return a calendar parsed from the specified reader * @throws IOException where an error occurs reading data from the specified reader * @throws ParserException where an error occurs parsing data from the reader */ public Calendar build(final UnfoldingReader uin) throws IOException, ParserException { // re-initialise.. calendar = null; component = null; subComponent = null; property = null; datesMissingTimezones = new ArrayList<Property>(); parser.parse(uin, contentHandler); if (datesMissingTimezones.size() > 0 && tzRegistry != null) { resolveTimezones(); } return calendar; }
/** * Build an iCalendar model by parsing data from the specified reader. * @param uin an unfolding reader to read data from * @return a calendar parsed from the specified reader * @throws IOException where an error occurs reading data from the specified reader * @throws ParserException where an error occurs parsing data from the reader */ public Calendar build(final UnfoldingReader uin) throws IOException, ParserException { // re-initialise.. calendar = null; components.clear(); property = null; datesMissingTimezones = new ArrayList(); parser.parse(uin, contentHandler); if ((datesMissingTimezones.size() > 0) && (tzRegistry != null)) { resolveTimezones(); } return calendar; }
/** * Build an iCalendar model by parsing data from the specified reader. * @param uin an unfolding reader to read data from * @return a calendar parsed from the specified reader * @throws IOException where an error occurs reading data from the specified reader * @throws ParserException where an error occurs parsing data from the reader */ public Calendar build(final UnfoldingReader uin) throws IOException, ParserException { // re-initialise.. calendar = null; component = null; subComponent = null; property = null; datesMissingTimezones = new ArrayList(); parser.parse(uin, contentHandler); if (datesMissingTimezones.size() > 0 && tzRegistry != null) { resolveTimezones(); } return calendar; }