C# 클래스 Achilles.Acme.Storage.Azure.FileNameHelpers

파일 보기 프로젝트 열기: Achilles-Software/CloudStorageProvider

공개 메소드들

메소드 설명
AppendDirTag ( string sDirName ) : string

append the final '/' char in the directory name (if not exists)

GetDirectory ( string sFileName ) : string

Get the directory path of the specified file

GetDirectoryName ( string dirPath ) : string

Get the directory name of the specified directory

GetFileName ( string filePath ) : string

Get the fileName of the specified file

IsValid ( string sFileName ) : bool

Check if a blobname(blob or virtual directory) is valid

메소드 상세

AppendDirTag() 공개 정적인 메소드

append the final '/' char in the directory name (if not exists)
public static AppendDirTag ( string sDirName ) : string
sDirName string directory name
리턴 string

GetDirectory() 공개 정적인 메소드

Get the directory path of the specified file
public static GetDirectory ( string sFileName ) : string
sFileName string file name, absolute path
리턴 string

GetDirectoryName() 공개 정적인 메소드

Get the directory name of the specified directory
public static GetDirectoryName ( string dirPath ) : string
dirPath string directory absolute path
리턴 string

GetFileName() 공개 정적인 메소드

Get the fileName of the specified file
public static GetFileName ( string filePath ) : string
filePath string file name, absolute path
리턴 string

IsValid() 공개 정적인 메소드

Check if a blobname(blob or virtual directory) is valid
public static IsValid ( string sFileName ) : bool
sFileName string blob name
리턴 bool