public class TtmlSegmenter extends Object
Constructor and Description |
---|
TtmlSegmenter() |
Modifier and Type | Method and Description |
---|---|
static void |
changeTime(Node p,
String attribute,
long amount) |
static Document |
normalizeTimes(Document doc) |
static List<Document> |
split(Document doc,
int splitTimeInSeconds) |
static void |
trimWhitespace(Node node) |
public static List<Document> split(Document doc, int splitTimeInSeconds) throws XPathExpressionException
XPathExpressionException
public static Document normalizeTimes(Document doc) throws XPathExpressionException
XPathExpressionException
public static void trimWhitespace(Node node)
Copyright © 2017. All rights reserved.