public static interface UriLoadable.Parser<T>
Modifier and Type | Method and Description |
---|---|
T |
parse(String connectionUrl,
InputStream inputStream)
Parses an object from a response.
|
T parse(String connectionUrl, InputStream inputStream) throws ParserException, IOException
connectionUrl
- The source of the response, after any redirection.inputStream
- An InputStream
from which the response data can be read.ParserException
- If an error occurs parsing the data.IOException
- If an error occurs reading data from the stream.