/** * Parses multiple VCALENDARs from the specified stream tokeniser. * * @param tokeniser * @param handler * @throws IOException * @throws ParseException * @throws URISyntaxException * @throws ParserException */ private void parseCalendarList(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, ParseException, URISyntaxException, ParserException { // BEGIN:VCALENDAR int ntok = assertToken(tokeniser, in, Calendar.BEGIN, false, true); while (ntok != StreamTokenizer.TT_EOF) { parseCalendar(tokeniser, in, handler); ntok = absorbWhitespace(tokeniser, in, true); } }
/** * Parses multiple VCALENDARs from the specified stream tokeniser. * * @param tokeniser * @param handler * @throws IOException * @throws ParseException * @throws URISyntaxException * @throws ParserException */ private void parseCalendarList(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, ParseException, URISyntaxException, ParserException { // BEGIN:VCALENDAR int ntok = assertToken(tokeniser, in, Calendar.BEGIN, false, true); while (ntok != StreamTokenizer.TT_EOF) { parseCalendar(tokeniser, in, handler); ntok = absorbWhitespace(tokeniser, in); } }
/** * Parses multiple VCALENDARs from the specified stream tokeniser. * * @param tokeniser * @param handler * @throws IOException * @throws ParseException * @throws URISyntaxException * @throws ParserException */ private void parseCalendarList(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, ParseException, URISyntaxException, ParserException { // BEGIN:VCALENDAR int ntok = assertToken(tokeniser, in, Calendar.BEGIN, false, true); while (ntok != StreamTokenizer.TT_EOF) { parseCalendar(tokeniser, in, handler); ntok = absorbWhitespace(tokeniser, in, true); } }