Parses the stream source of document and converts it to a Java Object containing all the information that were contained by the source.
Syntax
public
abstract IParserDocument
parse
(
InputStream
stream
) throws ParserException, IllegalArgumentException
Parameters
-
stream –
A stream that holds a syntactically valid document
Returns
The Object representation of the parsed document
Exceptions
-
ParserException class –
If the stream source is invalid
-
IllegalArgumentException –
If the argument is null