C# Class translatr.CineFile

Afficher le fichier Open project: sephiroth99/translatr Class Usage Examples

Méthodes publiques

Свойство Type Description
name String
sourcePath String

Méthodes publiques

Méthode Description
CineFile ( String srcpath, String name, bool isBE ) : System
CineFile ( bool isBE ) : System
add ( SubtitleEntry e ) : void
getSubtitles ( ) : List
isSubs ( ) : bool
parse ( Stream s ) : void
parse ( String path ) : void
rebuild ( String path ) : void

Private Methods

Méthode Description
blockChangeSub ( byte array, SubtitleEntry entry, int blockno ) : byte[]
findChangedEntry ( uint blockno ) : int
findSubsStartIndex ( byte array, int endidx ) : int
parseBlock ( byte array, int block ) : void
parseSubsBlock ( List entries, String s, int block ) : void
parseSubtitles ( ) : void
rebuildSubsBlock ( List entries, int blockNumber ) : byte[]

Method Details

CineFile() public méthode

public CineFile ( String srcpath, String name, bool isBE ) : System
srcpath String
name String
isBE bool
Résultat System

CineFile() public méthode

public CineFile ( bool isBE ) : System
isBE bool
Résultat System

add() public méthode

public add ( SubtitleEntry e ) : void
e SubtitleEntry
Résultat void

getSubtitles() public méthode

public getSubtitles ( ) : List
Résultat List

isSubs() public méthode

public isSubs ( ) : bool
Résultat bool

parse() public méthode

public parse ( Stream s ) : void
s Stream
Résultat void

parse() public méthode

public parse ( String path ) : void
path String
Résultat void

rebuild() public méthode

public rebuild ( String path ) : void
path String
Résultat void

Property Details

name public_oe property

public String name
Résultat String

sourcePath public_oe property

public String sourcePath
Résultat String