Parses the OData Service Document from stream.
Syntax
public
abstract IODataServiceDocument
parseODataServiceDocument
(
InputStream
stream
) throws ParserException, IllegalArgumentException
Parameters
-
stream –
The stream that holds OData Service Document
Returns
The OData Service Document
Exceptions
-
ParserException class –
If the stream source is invalid
-
IllegalArgumentException –
If the argument is null