public static interface ParsingLoadable.Parser<T>
Modifier and Type | Method and Description |
---|---|
T |
parse(Uri uri,
InputStream inputStream)
Parses an object from a response.
|
T parse(Uri uri, InputStream inputStream) throws IOException
uri
- The source Uri
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.