Parses SAPData structure from stream that represent either a single OData Entry or an OData Feed of several OData entries.
Syntax
public abstract List< IODataEntry > parseODataEntries (
InputStream stream,
String collectionId,
IODataSchema schema
) throws ParserException, IllegalArgumentException
Parameters
-
stream –
The stream that holds the source of either a single OData Entry or OData Feed of several OData entries
-
collectionId –
The id of the collection that the result entries should belong to
-
schema –
The relevant OData schema document
Returns
The list of the OData Entries contained by the source
Exceptions
-
ParserException class –
If the document source is invalid
-
IllegalArgumentException –
If the argument is null