Method | Description | |
---|---|---|
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. |
return | string |
public parse ( |
||
settings | Settings. | |
rawLines | LinkedList |
Raw lines. |
return | List |
public parse ( |
||
settings | Settings. | |
stream | Stream | Stream. |
encoding | ||
return | List |
public parseTime ( String timeString ) : double | ||
timeString | String | |
return | double |