public final class HlsPlaylistParser extends Object implements ParsingLoadable.Parser<HlsPlaylist>
Constructor and Description |
---|
HlsPlaylistParser() |
Modifier and Type | Method and Description |
---|---|
HlsPlaylist |
parse(Uri uri,
InputStream inputStream)
Parses an object from a response.
|
public HlsPlaylist parse(Uri uri, InputStream inputStream) throws IOException
ParsingLoadable.Parser
parse
in interface ParsingLoadable.Parser<HlsPlaylist>
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.