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