public final class WebvttCueParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
CUE_HEADER_PATTERN |
| Constructor and Description |
|---|
WebvttCueParser() |
| Modifier and Type | Method and Description |
|---|---|
static Matcher |
findNextCueHeader(ParsableByteArray input)
Reads lines up to and including the next WebVTT cue header.
|
public static final Pattern CUE_HEADER_PATTERN
public static Matcher findNextCueHeader(ParsableByteArray input)
input - The input from which lines should be read.Matcher for the WebVTT cue header, or null if the end of the input was
reached without a cue header being found. In the case that a cue header is found, groups 1,
2 and 3 of the returned matcher contain the start time, end time and settings list.