C# Class Functions.IO

Mostrar archivo Open project: godly-devotion/Baka-MPlayer-old

Public Methods

Method Description
GetDirectoryName ( string path ) : string
GetFileSize ( string filePath, int roundTo ) : string
GetFolderName ( string fileLocation ) : string
IsDirectorySame ( string path1, string path2 ) : bool
IsValidPath ( string path ) : bool

Checks to see if file exists locally or is of valid url

Method Details

GetDirectoryName() public static method

public static GetDirectoryName ( string path ) : string
path string
return string

GetFileSize() public static method

public static GetFileSize ( string filePath, int roundTo ) : string
filePath string
roundTo int
return string

GetFolderName() public static method

public static GetFolderName ( string fileLocation ) : string
fileLocation string
return string

IsDirectorySame() public static method

public static IsDirectorySame ( string path1, string path2 ) : bool
path1 string
path2 string
return bool

IsValidPath() public static method

Checks to see if file exists locally or is of valid url
public static IsValidPath ( string path ) : bool
path string
return bool