public class TimedTextMarkupLanguageParser extends Object
| Constructor and Description |
|---|
TimedTextMarkupLanguageParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
boolean |
parse(Path ttmlFilePath)
Parse the TTML file into internal representation.
|
boolean |
parseXmlFlash(Path ttmlFilePath)
Parse the XML Subtitle File for Flash Player into internal representation.
|
void |
toSrt(Path srtFile)
Convert internal representation into SubRip Text Format and save to file.
|
public boolean parse(Path ttmlFilePath)
ttmlFilePath - the TTML file to parsepublic boolean parseXmlFlash(Path ttmlFilePath)
ttmlFilePath - the TTML file to parsepublic void toSrt(Path srtFile)
public void cleanup()
Copyright © 2020. All rights reserved.