Метод | Описание | |
---|---|---|
GetFormatRegex ( LinkedList |
Find "Format: " line in "rawLines" and create a regex matching to infomation in this format.
|
|
SubtitleParserASS ( ) : System | ||
parse ( |
The general idea is to create a regex based of the "Format: "-line in .ass file. Which then can be used to easily filter the required information (namely timestamps, text and actor).
|
|
parse ( |
Parse ASS files.
|
|
parseTime ( String timeString ) : double |
Parse SSA timestamps like "0:19:30.25" to seconds
|
public GetFormatRegex ( LinkedList |
||
rawLines | LinkedList |
Raw lines. |
Результат | string |
public parse ( |
||
settings | Settings. | |
rawLines | LinkedList |
Raw lines. |
Результат | List |
public parse ( |
||
settings | Settings. | |
stream | Stream | Stream. |
encoding | ||
Результат | List |
public parseTime ( String timeString ) : double | ||
timeString | String | |
Результат | double |