C# 클래스 subtitleMemorize.SubtitleParserASS

Parse .ass/.ssa files
상속: ISubtitleParser
파일 보기 프로젝트 열기: ChangSpivey/SubtitleMemorize 1 사용 예제들

공개 메소드들

메소드 설명
GetFormatRegex ( LinkedList rawLines ) : string

Find "Format: " line in "rawLines" and create a regex matching to infomation in this format.

SubtitleParserASS ( ) : System
parse ( Settings settings, LinkedList rawLines ) : List

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 ( Settings settings, Stream stream, Encoding encoding ) : List

Parse ASS files.

parseTime ( String timeString ) : double

Parse SSA timestamps like "0:19:30.25" to seconds

메소드 상세

GetFormatRegex() 공개 메소드

Find "Format: " line in "rawLines" and create a regex matching to infomation in this format.
public GetFormatRegex ( LinkedList rawLines ) : string
rawLines LinkedList Raw lines.
리턴 string

SubtitleParserASS() 공개 메소드

public SubtitleParserASS ( ) : System
리턴 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).
public parse ( Settings settings, LinkedList rawLines ) : List
settings Settings Settings.
rawLines LinkedList Raw lines.
리턴 List

parse() 공개 메소드

Parse ASS files.
public parse ( Settings settings, Stream stream, Encoding encoding ) : List
settings Settings Settings.
stream Stream Stream.
encoding System.Text.Encoding
리턴 List

parseTime() 공개 메소드

Parse SSA timestamps like "0:19:30.25" to seconds
public parseTime ( String timeString ) : double
timeString String
리턴 double