C# 클래스 SpeakFriend.Utilities.PathUtil

파일 보기 프로젝트 열기: teamaton/speak-lib

공개 메소드들

메소드 설명
EnsureDirectoryExists ( this absolutePath ) : void

Ensures that all folders on the given path - file or dir (dir must end with /) - exist; if they don't they will be created.
Throws a SpeakLibException if the missing folders cannot be created.

GetRelativePath ( string path, string rootDirectory ) : string

메소드 상세

EnsureDirectoryExists() 공개 정적인 메소드

Ensures that all folders on the given path - file or dir (dir must end with /) - exist; if they don't they will be created.
Throws a SpeakLibException if the missing folders cannot be created.
public static EnsureDirectoryExists ( this absolutePath ) : void
absolutePath this Absolute path of a file or directory (dir must end with /).
리턴 void

GetRelativePath() 공개 정적인 메소드

public static GetRelativePath ( string path, string rootDirectory ) : string
path string
rootDirectory string
리턴 string