public static interface UriLoadable.Parser<T>
Modifier and Type | Method and Description |
---|---|
T |
parse(java.lang.String connectionUrl,
java.io.InputStream inputStream)
Parses an object from a response.
|
T parse(java.lang.String connectionUrl, java.io.InputStream inputStream) throws ParserException, java.io.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.java.io.IOException
- If an error occurs reading data from the stream.