Package 

Class WebVTTParser


  • 
    public class WebVTTParser
    
                        

    Implementation of a parser for WebVTT style captions. This parser is not complete, and is loosely based off of the current WebVTT parser in the Google ExoPlayer project.

    • Method Summary

      Modifier and Type Method Description
      static WebVTTDocument parse(InputStream stream, String encoding) The main parser for WebVTT cue files pre KitKat.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parse

         static WebVTTDocument parse(InputStream stream, String encoding)

        The main parser for WebVTT cue files pre KitKat.

        Parameters:
        stream - the input stream containing caption data
        encoding - the string encoding used, mostly UTF-8