C# Class translatr.CineFile

Exibir arquivo Open project: sephiroth99/translatr Class Usage Examples

Public Properties

Property Type Description
name String
sourcePath String

Public Methods

Method 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

Method 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 method

public CineFile ( String srcpath, String name, bool isBE ) : System
srcpath String
name String
isBE bool
return System

CineFile() public method

public CineFile ( bool isBE ) : System
isBE bool
return System

add() public method

public add ( SubtitleEntry e ) : void
e SubtitleEntry
return void

getSubtitles() public method

public getSubtitles ( ) : List
return List

isSubs() public method

public isSubs ( ) : bool
return bool

parse() public method

public parse ( Stream s ) : void
s Stream
return void

parse() public method

public parse ( String path ) : void
path String
return void

rebuild() public method

public rebuild ( String path ) : void
path String
return void

Property Details

name public_oe property

public String name
return String

sourcePath public_oe property

public String sourcePath
return String