ISubtitleParser class abstract

It is used to analyze and convert subtitle files into software objects that are viewable and usable. The base class of SubtitleParser, you can create your custom by extends from this base class.

Implementers

Constructors

ISubtitleParser(SubtitleObject object)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
object SubtitleObject
The subtitle object that contain subtitle info (file data and format type).
final
regexObject SubtitleRegexObject
Getter method to return the current SubtitleRegexObject of this object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

normalize(String txt) String
Normalize the text data of subtitle, remove unnecessary characters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parsing() List<Subtitle>
Abstract method parsing the data from any format and return it as a list of subtitles.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited