public class SsManifestParser extends Object implements ParsingLoadable.Parser<SsManifest>
Modifier and Type | Class and Description |
---|---|
static class |
SsManifestParser.MissingFieldException
Thrown if a required field is missing.
|
Constructor and Description |
---|
SsManifestParser() |
Modifier and Type | Method and Description |
---|---|
SsManifest |
parse(Uri uri,
InputStream inputStream)
Parses an object from a response.
|
public SsManifest parse(Uri uri, InputStream inputStream) throws IOException
ParsingLoadable.Parser
parse
in interface ParsingLoadable.Parser<SsManifest>
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.