public final class WebvttCueParser extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
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.
Matcherfor 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.