C# Class subtitleMemorize.UtilsInputFiles

Afficher le fichier Open project: ChangSpivey/SubtitleMemorize Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddFile ( String filename ) : void
filename String
Résultat void

AddFileWithProperties() public méthode

public AddFileWithProperties ( String filename, String>.Dictionary dict ) : void
filename String
dict String>.Dictionary
Résultat void

GetFileDescriptions() public méthode

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

SetPropertiesOfFirstFile() public méthode

public SetPropertiesOfFirstFile ( string key, string value ) : void
key string
value string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

UtilsInputFiles() public méthode

public UtilsInputFiles ( String inputString ) : System
inputString String
Résultat System