$Id$ Created [Nov 5, 2004]
The default implementation of a calendar parser.
| Modifier and Type | Class and Description |
|---|---|
| private class | CalendarParserImpl.
Parses an iCalendar component list from the specified stream tokeniser. |
| private class | CalendarParserImpl.
Parses an iCalendar component from the specified stream tokeniser. |
| private class | CalendarParserImpl.
Parses a list of iCalendar parameters by parsing the specified stream tokeniser. |
| private class | |
| private class | CalendarParserImpl.
Parses an iCalendar property list from the specified stream tokeniser. |
| private class | CalendarParserImpl.
Parses an iCalendar property from the specified stream tokeniser. |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final CalendarParserImpl. | |
| private final CalendarParserImpl. | |
| private static final int | |
| private final Logger | |
| private final CalendarParserImpl. | |
| private final CalendarParserImpl. | |
| private final CalendarParserImpl. | |
| private final CalendarParserImpl. | |
| private static final String | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | Returns: int value of the ttype field of the tokeniserAbsorbs extraneous newlines. |
| private int | Returns: int value of the ttype field of the tokeniserstream tokeniser to perform assertion on tokeniser, Reader in, final int expected token token)Asserts that the next token in the stream matches the specified token. |
| private int | Returns: int value of the ttype field of the tokeniserAsserts that the next token in the stream matches the specified token. |
| private int | Returns: int value of the ttype field of the tokeniserstream tokeniser to perform assertion on tokeniser, Reader in, final String expected token token, final boolean ignoreCase, final boolean isBeginToken)Asserts that the next token in the stream matches the specified token. |
| private int | Returns: int value of the ttype field of the tokeniser
|
| private String | |
| private int | Returns: int value of the ttype field of the tokeniser
|
| private int | Returns: int value of the ttype field of the tokeniserReads the next token from the tokeniser. |
| public final void | parse(final InputStream
an input stream from which to read iCalendar data in, final ContentHandler the content handler to notify during parsing handler)Implements net. Parse the iCalendar data from the specified input stream. |
| public final void | parse(final Reader
a reader from which to read iCalendar data in, final ContentHandler the content handler to notify during parsing handler)Implements net. Parse the iCalendar data from the specified reader. |
| private void | parseCalendar(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler)
Parses an iCalendar VCALENDAR from the specified stream tokeniser. |
| private void | parseCalendarList(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler)
Parses multiple VCALENDARs from the specified stream tokeniser. |
| private int | Returns: int value of the ttype field of the tokeniserSkip newlines and linefeed at the beginning. |
| absorbWhitespaceEnabled | back to summary |
|---|---|
| private final boolean absorbWhitespaceEnabled | |
| componentListParser | back to summary |
|---|---|
| private final CalendarParserImpl. | |
| componentParser | back to summary |
|---|---|
| private final CalendarParserImpl. | |
| IGNORE_BEGINNING_NON_WORD_COUNT | back to summary |
|---|---|
| private static final int IGNORE_BEGINNING_NON_WORD_COUNT | |
| log | back to summary |
|---|---|
| private final Logger log | |
| paramListParser | back to summary |
|---|---|
| private final CalendarParserImpl. | |
| paramParser | back to summary |
|---|---|
| private final CalendarParserImpl. | |
| propertyListParser | back to summary |
|---|---|
| private final CalendarParserImpl. | |
| propertyParser | back to summary |
|---|---|
| private final CalendarParserImpl. | |
| UNEXPECTED_TOKEN_MESSAGE | back to summary |
|---|---|
| private static final String UNEXPECTED_TOKEN_MESSAGE | |
| WHITESPACE_CHAR_END | back to summary |
|---|---|
| private static final int WHITESPACE_CHAR_END | |
| WHITESPACE_CHAR_START | back to summary |
|---|---|
| private static final int WHITESPACE_CHAR_START | |
| WORD_CHAR_END | back to summary |
|---|---|
| private static final int WORD_CHAR_END | |
| WORD_CHAR_START | back to summary |
|---|---|
| private static final int WORD_CHAR_START | |
| CalendarParserImpl | back to summary |
|---|---|
| public CalendarParserImpl() | |
| CalendarParserImpl | back to summary |
|---|---|
| public CalendarParserImpl(boolean absorbWhitespaceEnabled) | |
| absorbWhitespace | back to summary |
|---|---|
| private void absorbWhitespace(final StreamTokenizer tokeniser, Reader in) throws IOException, ParserException Absorbs extraneous newlines.
| |
| assertToken | back to summary |
|---|---|
| private int assertToken(final StreamTokenizer tokeniser, Reader in, final int token) throws IOException, ParserException Asserts that the next token in the stream matches the specified token.
| |
| assertToken | back to summary |
|---|---|
| private int assertToken(final StreamTokenizer tokeniser, Reader in, final String token) throws IOException, ParserException Asserts that the next token in the stream matches the specified token. This method is case-sensitive.
| |
| assertToken | back to summary |
|---|---|
| private int assertToken(final StreamTokenizer tokeniser, Reader in, final String token, final boolean ignoreCase, final boolean isBeginToken) throws IOException, ParserException Asserts that the next token in the stream matches the specified token.
| |
| getLineNumber | back to summary |
|---|---|
private int getLineNumber(StreamTokenizer tokeniser, Reader in)
| |
| getSvalIgnoringBom | back to summary |
|---|---|
| private String getSvalIgnoringBom(StreamTokenizer tokeniser, Reader in, String token) Ignore BOM character. | |
| nextToken | back to summary |
|---|---|
private int nextToken(StreamTokenizer tokeniser, Reader in) throws IOException, ParserException
| |
| nextToken | back to summary |
|---|---|
| private int nextToken(StreamTokenizer tokeniser, Reader in, boolean ignoreEOF) throws IOException, ParserException Reads the next token from the tokeniser. This method throws a ParserException when reading EOF.
| |
| parse | back to summary |
|---|---|
| public final void parse(final InputStream in, final ContentHandler handler) throws IOException, ParserException Implements net. Doc from net. Parse the iCalendar data from the specified input stream.
| |
| parse | back to summary |
|---|---|
| public final void parse(final Reader in, final ContentHandler handler) throws IOException, ParserException Implements net. Doc from net. Parse the iCalendar data from the specified reader.
| |
| parseCalendar | back to summary |
|---|---|
| private void parseCalendar(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, URISyntaxException, ParserException Parses an iCalendar VCALENDAR from the specified stream tokeniser. | |
| parseCalendarList | back to summary |
|---|---|
| private void parseCalendarList(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, URISyntaxException, ParserException Parses multiple VCALENDARs from the specified stream tokeniser. | |
| skipNewLines | back to summary |
|---|---|
| private int skipNewLines(StreamTokenizer tokeniser, Reader in, String token) throws ParserException, IOException Skip newlines and linefeed at the beginning.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void |
| ComponentListParser | back to summary |
|---|---|
| private ComponentListParser() | |
| parse | back to summary |
|---|---|
| private void parse(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, URISyntaxException, ParserException | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void |
| ComponentParser | back to summary |
|---|---|
| private ComponentParser() | |
| parse | back to summary |
|---|---|
| private void parse(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, URISyntaxException, ParserException | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| ParameterListParser | back to summary |
|---|---|
| private ParameterListParser() | |
| parse | back to summary |
|---|---|
| public void parse(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, ParserException, URISyntaxException | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void |
| ParameterParser | back to summary |
|---|---|
| private ParameterParser() | |
| parse | back to summary |
|---|---|
| private void parse(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, ParserException, URISyntaxException | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| PropertyListParser | back to summary |
|---|---|
| private PropertyListParser() | |
| parse | back to summary |
|---|---|
| public void parse(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, URISyntaxException, ParserException | |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void |
| PARSE_DEBUG_MESSAGE | back to summary |
|---|---|
| private static final String PARSE_DEBUG_MESSAGE | |
| PARSE_EXCEPTION_MESSAGE | back to summary |
|---|---|
| private static final String PARSE_EXCEPTION_MESSAGE | |
| PropertyParser | back to summary |
|---|---|
| private PropertyParser() | |
| parse | back to summary |
|---|---|
| private void parse(final StreamTokenizer tokeniser, Reader in, final ContentHandler handler) throws IOException, ParserException, URISyntaxException | |