Package Subtitles :: Module Softni :: Class Softni
[hide private]
[frames] | no frames]

Class Softni

source code


This class handles the Softni file format

Instance Methods [hide private]
 
__init__(self, filename)
Initialize all the attributes needed to handle all types of subtitle formats as well as their manipulation
source code
 
_loadFromFile(self, file)
Parse and load the subtitle using a string as input
source code
 
_softniFormat2Frame(self, softniFormat)
Convert Softni frame format to cumulative frame counting
source code
 
_softniFormat2Timestamp(self, softniFormat)
Convert Softni frame format to cumulative frame counting
source code

Inherited from Subtitles.Subtitles: getSub, getSupportedTypes, subAdd, subDel, subUpdate, updateKeys, updateText

Method Details [hide private]

__init__(self, filename)
(Constructor)

source code 

Initialize all the attributes needed to handle all types of subtitle formats as well as their manipulation

Overrides: Subtitles.Subtitles.__init__
(inherited documentation)