public final class HlsPlaylistParser extends Object implements UriLoadable.Parser<HlsPlaylist>
| Constructor and Description |
|---|
HlsPlaylistParser() |
| Modifier and Type | Method and Description |
|---|---|
HlsPlaylist |
parse(String connectionUrl,
InputStream inputStream)
Parses an object from a response.
|
public HlsPlaylist parse(String connectionUrl, InputStream inputStream) throws IOException, ParserException
UriLoadable.Parserparse in interface UriLoadable.Parser<HlsPlaylist>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.IOException - If an error occurs reading data from the stream.