C# Class Scenarioo.Api.Util.Files.FilesUtil

Afficher le fichier Open project: scenarioo/scenarioo-cs

Méthodes publiques

Méthode Description
EncodeName ( string name ) : string
GetListOfFiles ( string directory ) : string[]

Read all files from 'directory'.

GetListOfFilesFromSubdirs ( string directory, string filename ) : string[]

Read all files with given name from all subdirectories of 'directory'.

ListFiles ( string directory ) : string[]

List all files in the given directory sorted alphanumerically using a collator.

Method Details

EncodeName() public static méthode

public static EncodeName ( string name ) : string
name string
Résultat string

GetListOfFiles() public static méthode

Read all files from 'directory'.
public static GetListOfFiles ( string directory ) : string[]
directory string ///
Résultat string[]

GetListOfFilesFromSubdirs() public static méthode

Read all files with given name from all subdirectories of 'directory'.
public static GetListOfFilesFromSubdirs ( string directory, string filename ) : string[]
directory string
filename string
Résultat string[]

ListFiles() public static méthode

List all files in the given directory sorted alphanumerically using a collator.
public static ListFiles ( string directory ) : string[]
directory string
Résultat string[]