C# Class subtitleMemorize.UtilsInputFiles

Mostra file Open project: ChangSpivey/SubtitleMemorize Class Usage Examples

Public Methods

Method Description
AddFile ( String filename ) : void
AddFileWithProperties ( String filename, String>.Dictionary dict ) : void
GetFileDescriptions ( ) : List

Gets the file descriptions. It resolves wildcards so that this function returns a list of usable files.

SetPropertiesOfFirstFile ( string key, string value ) : void
ToString ( ) : string
UtilsInputFiles ( String inputString ) : System

Private Methods

Method Description
AddFileDescToList ( bool isFillerFile, string filePath, string>.Dictionary dictionary ) : List
EscapeSequencesToNormalChar ( String str ) : String
SpecialCharacterToEscapeSequence ( String str ) : String
StringToTokenType ( String str ) : TT
TokenizeInputString ( String inputStr ) : String[]

Splits the input string on special charcters '<', >', '=' and ','. In case these characters are precedented by '\' they become normal characters and the string will not be split at this point. <encoding=utf-8,>

Method Details

AddFile() public method

public AddFile ( String filename ) : void
filename String
return void

AddFileWithProperties() public method

public AddFileWithProperties ( String filename, String>.Dictionary dict ) : void
filename String
dict String>.Dictionary
return void

GetFileDescriptions() public method

Gets the file descriptions. It resolves wildcards so that this function returns a list of usable files.
public GetFileDescriptions ( ) : List
return List

SetPropertiesOfFirstFile() public method

public SetPropertiesOfFirstFile ( string key, string value ) : void
key string
value string
return void

ToString() public method

public ToString ( ) : string
return string

UtilsInputFiles() public method

public UtilsInputFiles ( String inputString ) : System
inputString String
return System