public final class WebvttCueParser
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
CUE_HEADER_PATTERN |
| Constructor and Description |
|---|
WebvttCueParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
parseCue(ParsableByteArray webvttData,
WebvttCue.Builder builder,
java.util.List<WebvttCssStyle> styles)
Parses the next valid WebVTT cue in a parsable array, including timestamps, settings and text.
|
public boolean parseCue(ParsableByteArray webvttData, WebvttCue.Builder builder, java.util.List<WebvttCssStyle> styles)
webvttData - Parsable WebVTT file data.builder - Builder for WebVTT Cues.styles - List of styles defined by the CSS style blocks preceeding the cues.